소스 검색

HUE-7555 [importer] Type guessing for table sets everything as string

Romain Rigaux 8 년 전
부모
커밋
0a39e0251e
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      desktop/libs/indexer/src/indexer/templates/importer.mako

+ 5 - 1
desktop/libs/indexer/src/indexer/templates/importer.mako

@@ -1042,7 +1042,11 @@ ${ assist.assistPanel() }
         "string": "string",
         "plong": "bigint",
         "pdouble": "double",
-        "pdate": "timestamp"
+        "pdate": "timestamp",
+        "long": "bigint",
+        "double": "double",
+        "date": "timestamp",
+        "boolean": "boolean",
       },
       HIVE_TO_SOLR: {
         "bigint": "plong"