Skip to content

Commit

Permalink
[presto] Removing patched presto (apache#4530)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley authored and mistercrunch committed Mar 6, 2018
1 parent 226c590 commit 326e689
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 33 deletions.
6 changes: 0 additions & 6 deletions superset/db_engine_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,12 +541,6 @@ class PrestoEngineSpec(BaseEngineSpec):
"date_add('day', 1, CAST({col} AS TIMESTAMP))))"),
)

@classmethod
def patch(cls):
from pyhive import presto
from superset.db_engines import presto as patched_presto
presto.Cursor.cancel = patched_presto.cancel

@classmethod
def adjust_database_uri(cls, uri, selected_schema=None):
database = uri.database
Expand Down
27 changes: 0 additions & 27 deletions superset/db_engines/presto.py

This file was deleted.

0 comments on commit 326e689

Please sign in to comment.