فهرست منبع

HUE-4291 [metastore] Do not use smallints in the create table from file wizard

Enrico Berti 9 سال پیش
والد
کامیت
548ead4237
1فایلهای تغییر یافته به همراه0 افزوده شده و 4 حذف شده
  1. 0 4
      apps/beeswax/src/beeswax/templates/import_wizard_define_columns.mako

+ 0 - 4
apps/beeswax/src/beeswax/templates/import_wizard_define_columns.mako

@@ -405,11 +405,7 @@ ${ assist.assistPanel() }
                 var _bytes = Math.ceil((Math.log(_val) / Math.log(2)) / 8);
                 switch (_bytes) {
                   case 1:
-                    _foundType = "smallint";
-                    break;
                   case 2:
-                    _foundType = "smallint";
-                    break;
                   case 3:
                   case 4:
                     _foundType = "int";