mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
Fix 5479 - unicode columns issue. (#5508)
This commit is contained in:
parent
cd55998d63
commit
213fb649e6
@ -726,7 +726,7 @@ class Database(Model, AuditMixinNullable, ImportMixin):
|
||||
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):
|
||||
|
Loading…
Reference in New Issue
Block a user