Преглед на файлове

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";