Эх сурвалжийг харах

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

Enrico Berti 9 жил өмнө
parent
commit
548ead4237

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