mirror of
https://github.com/apache/superset.git
synced 2026-04-16 06:34:52 +00:00
fix(Jinja): Emit time grain to table charts even if they don't have a temporal column (#32871)
This commit is contained in:
@@ -198,11 +198,6 @@ const buildQuery: BuildQuery<TableChartFormData> = (
|
||||
(ownState.currentPage ?? 0) * (ownState.pageSize ?? 0);
|
||||
}
|
||||
|
||||
if (!temporalColumn) {
|
||||
// This query is not using temporal column, so it doesn't need time grain
|
||||
extras.time_grain_sqla = undefined;
|
||||
}
|
||||
|
||||
let queryObject = {
|
||||
...baseQueryObject,
|
||||
columns,
|
||||
|
||||
Reference in New Issue
Block a user