Skip to content

Commit

Permalink
Removing dependency on pythrifthiveapi (#3494)
Browse files Browse the repository at this point in the history
Since the latest pyhive, we don't need pythrifthiveapi as they ship with
the latest version.

There's actually a conflict between the new pyhive and pythrifthiveapi
and this fixes it.
  • Loading branch information
mistercrunch authored Sep 19, 2017
1 parent c5252d0 commit ccd5fd4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion dev-reqs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ mysqlclient
nose
psycopg2
pylint
pythrifthiveapi
pyyaml
redis
statsd
Expand Down
2 changes: 1 addition & 1 deletion superset/db_engine_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion superset/db_engines/hive.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pyhive import hive
from pythrifthiveapi.TCLIService import ttypes
from TCLIService import ttypes
from thrift import Thrift


Expand Down

0 comments on commit ccd5fd4

Please sign in to comment.