diff --git a/dev-reqs.txt b/dev-reqs.txt index c53fdefa1ea47..0705bd2da4a32 100644 --- a/dev-reqs.txt +++ b/dev-reqs.txt @@ -7,7 +7,6 @@ mysqlclient nose psycopg2 pylint -pythrifthiveapi pyyaml redis statsd diff --git a/superset/db_engine_specs.py b/superset/db_engine_specs.py index d44ba55b0ba01..71c6ab20d9b6f 100644 --- a/superset/db_engine_specs.py +++ b/superset/db_engine_specs.py @@ -668,7 +668,7 @@ class HiveEngineSpec(PrestoEngineSpec): def patch(cls): from pyhive import hive from superset.db_engines import hive as patched_hive - from pythrifthiveapi.TCLIService import ( + from TCLIService import ( constants as patched_constants, ttypes as patched_ttypes, TCLIService as patched_TCLIService) diff --git a/superset/db_engines/hive.py b/superset/db_engines/hive.py index a31b4d7f323d8..f14608410823a 100644 --- a/superset/db_engines/hive.py +++ b/superset/db_engines/hive.py @@ -1,5 +1,5 @@ from pyhive import hive -from pythrifthiveapi.TCLIService import ttypes +from TCLIService import ttypes from thrift import Thrift