You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jo...@apache.org on 2019/12/12 19:25:14 UTC

[incubator-superset] branch john-bodley--fix-table-time-regression created (now db85432)

This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a change to branch john-bodley--fix-table-time-regression
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


      at db85432  [fix] Adding time grains to Table

This branch includes the following new commits:

     new db85432  [fix] Adding time grains to Table

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-superset] 01/01: [fix] Adding time grains to Table

Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch john-bodley--fix-table-time-regression
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit db8543216a3ca9d3fa1780254f9b3c509a1baf73
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Fri Dec 13 08:25:01 2019 +1300

    [fix] Adding time grains to Table
---
 superset/assets/src/explore/controlPanels/Table.js | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/superset/assets/src/explore/controlPanels/Table.js b/superset/assets/src/explore/controlPanels/Table.js
index 45e138a..6463cfe 100644
--- a/superset/assets/src/explore/controlPanels/Table.js
+++ b/superset/assets/src/explore/controlPanels/Table.js
@@ -59,4 +59,12 @@ export default {
       validators: [],
     },
   },
+  sectionOverrides: {
+    druidTimeSeries: {
+      controlSetRows: [['granularity', 'druid_time_origin'], ['time_range']],
+    },
+    sqlaTimeSeries: {
+      controlSetRows: [['granularity_sqla', 'time_grain_sqla'], ['time_range']],
+    },
+  },
 };