Skip to content

Commit

Permalink
Fix test/lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Mar 24, 2017
1 parent e7742a1 commit f6922b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion superset/connectors/druid/models.py
Expand Up @@ -942,7 +942,7 @@ def recursive_get_fields(_conf):
def query(self, query_obj):
qry_start_dttm = datetime.now()
client = self.cluster.get_pydruid_client()
query_str = self.get_query_str(client, qry_start_dttm, **query_obj)
query_str = self.get_query_str(**query_obj)
df = client.export_pandas()

if df is None or df.size == 0:
Expand Down
2 changes: 1 addition & 1 deletion superset/db_engine_specs.py
Expand Up @@ -117,7 +117,7 @@ def sql_preprocessor(cls, sql):
For example Presto needs to double `%` characters
"""
return sql#.replace('%', '%')
return sql

@classmethod
def patch(cls):
Expand Down

0 comments on commit f6922b6

Please sign in to comment.