You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by er...@apache.org on 2020/05/03 16:28:57 UTC

[incubator-superset] branch master updated: [hive][csv upload] make INTs BIGINTs (#9716)

This is an automated email from the ASF dual-hosted git repository.

erikrit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 5d167af  [hive][csv upload] make INTs BIGINTs (#9716)
5d167af is described below

commit 5d167afb9499d7ce30c7ea763b19993af347dc23
Author: serenajiang <se...@berkeley.edu>
AuthorDate: Sun May 3 09:28:31 2020 -0700

    [hive][csv upload] make INTs BIGINTs (#9716)
---
 superset/db_engine_specs/hive.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/db_engine_specs/hive.py b/superset/db_engine_specs/hive.py
index b6240df..cb810f1 100644
--- a/superset/db_engine_specs/hive.py
+++ b/superset/db_engine_specs/hive.py
@@ -114,7 +114,7 @@ class HiveEngineSpec(PrestoEngineSpec):
             """maps tableschema's types to hive types"""
             tableschema_to_hive_types = {
                 "boolean": "BOOLEAN",
-                "integer": "INT",
+                "integer": "BIGINT",
                 "number": "DOUBLE",
                 "string": "STRING",
             }