Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
[fix] Adding time grains to PivotTable (apache#8764)
Browse files Browse the repository at this point in the history
(cherry picked from commit 665e947)
  • Loading branch information
john-bodley authored and John Bodley committed Dec 5, 2019
1 parent f7c3368 commit d1dd66f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions superset/assets/src/explore/controlPanels/PivotTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,12 @@ export default {
groupby: { includeTime: true },
columns: { includeTime: true },
},
sectionOverrides: {
druidTimeSeries: {
controlSetRows: [['granularity', 'druid_time_origin'], ['time_range']],
},
sqlaTimeSeries: {
controlSetRows: [['granularity_sqla', 'time_grain_sqla'], ['time_range']],
},
},
};

0 comments on commit d1dd66f

Please sign in to comment.