소스 검색

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