mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
[pivot] add support for in Pivot on Druid (#3230)
This commit is contained in:
parent
4ea770068b
commit
5278b53218
@ -817,6 +817,11 @@ class DruidDatasource(Model, BaseDatasource):
|
||||
"""
|
||||
# TODO refactor into using a TBD Query object
|
||||
client = client or self.cluster.get_pydruid_client()
|
||||
|
||||
if DTTM_ALIAS in groupby:
|
||||
groupby.remove(DTTM_ALIAS)
|
||||
is_timeseries = True
|
||||
|
||||
if not is_timeseries:
|
||||
granularity = 'all'
|
||||
inner_from_dttm = inner_from_dttm or from_dttm
|
||||
|
Loading…
Reference in New Issue
Block a user