LevisNgigi commented on PR #34296:
URL: https://github.com/apache/superset/pull/34296#issuecomment-3116531858
> > Aggregations for everything was done server-side
>
> but the query was wrong it seems, as one of the queries should have NOT
included the time dimension (?)
Yes there was no need for duplicate queries, previously for something like
sum this was the query, [{'operation': 'pivot',
'options': {'aggregates': {'count': {'operator': 'mean'}},
'columns': [],
'drop_missing_columns': True,
'index': ['order_date']}},
{'operation': 'aggregate',
'options': {'aggregates': {'count': {'column': 'count', 'operator':
'sum'}},
'groupby': []}}]
but with client side it is this [{'operation': 'pivot',
'options': {'aggregates': {'count': {'operator': 'mean'}},
'columns': [],
'drop_missing_columns': True,
'index': ['order_date']}},
{'operation': 'flatten'}] but even client processing works fine as well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]