mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
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:
committed by
GitHub
parent
c5252d0f43
commit
ccd5fd44cf
@@ -7,7 +7,6 @@ mysqlclient
|
||||
nose
|
||||
psycopg2
|
||||
pylint
|
||||
pythrifthiveapi
|
||||
pyyaml
|
||||
redis
|
||||
statsd
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from pyhive import hive
|
||||
from pythrifthiveapi.TCLIService import ttypes
|
||||
from TCLIService import ttypes
|
||||
from thrift import Thrift
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user