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
  • Loading branch information
john-bodley authored Dec 5, 2019
1 parent 3bdf764 commit 665e947
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 665e947

Please sign in to comment.