mirror of
https://github.com/apache/superset.git
synced 2024-09-17 11:09:47 -04:00
[druid] fix FilterBox viz gets timestamps as values if granularity <> all (#2647)
This commit is contained in:
parent
cdfc4a35b2
commit
f10ee13901
@ -931,7 +931,6 @@ class DruidDatasource(Model, BaseDatasource):
|
|||||||
if 'is_timeseries' in query_obj else True
|
if 'is_timeseries' in query_obj else True
|
||||||
if (
|
if (
|
||||||
not is_timeseries and
|
not is_timeseries and
|
||||||
query_obj['granularity'] == "all" and
|
|
||||||
DTTM_ALIAS in df.columns):
|
DTTM_ALIAS in df.columns):
|
||||||
del df[DTTM_ALIAS]
|
del df[DTTM_ALIAS]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user