Removing dependency on pythrifthiveapi (#3494)

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.
This commit is contained in:
Maxime Beauchemin
2017-09-19 11:19:49 -07:00
committed by GitHub
parent c5252d0f43
commit ccd5fd44cf
3 changed files with 2 additions and 3 deletions

View File

@@ -7,7 +7,6 @@ mysqlclient
nose
psycopg2
pylint
pythrifthiveapi
pyyaml
redis
statsd

View File

@@ -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)

View File

@@ -1,5 +1,5 @@
from pyhive import hive
from pythrifthiveapi.TCLIService import ttypes
from TCLIService import ttypes
from thrift import Thrift