浏览代码

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

Enrico Berti 9 年之前
父节点
当前提交
548ead4
共有 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";