[bugfix] handling UTF8 in Druid dimensions (#4943)

This commit is contained in:
Maxime Beauchemin
2018-05-08 22:04:05 -07:00
committed by GitHub
parent e29beba023
commit 918399d4e2

View File

@@ -1318,7 +1318,7 @@ class DruidDatasource(Model, BaseDatasource):
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):