Skip to content

Commit

Permalink
[bugfix] handling UTF8 in Druid dimensions (apache#4943)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored and michellethomas committed May 23, 2018
1 parent f9136e4 commit a358bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/connectors/druid/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,7 @@ def homogenize_types(df, groupby_cols):
str instead of an object.
"""
for col in groupby_cols:
df[col] = df[col].fillna('<NULL>').astype(str)
df[col] = df[col].fillna('<NULL>').astype('unicode')
return df

def query(self, query_obj):
Expand Down

0 comments on commit a358bfd

Please sign in to comment.