Skip to content

Commit

Permalink
Fix 5479 - unicode columns issue. (apache#5508)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuru authored and mistercrunch committed Jul 27, 2018
1 parent 4b0acc6 commit 90d610e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/models/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ def get_quoter(self):
return self.get_dialect().identifier_preparer.quote

def get_df(self, sql, schema):
sqls = [str(s).strip().strip(';') for s in sqlparse.parse(sql)]
sqls = [six.text_type(s).strip().strip(';') for s in sqlparse.parse(sql)]
engine = self.get_sqla_engine(schema=schema)

def needs_conversion(df_series):
Expand Down

0 comments on commit 90d610e

Please sign in to comment.