[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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):