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

yjc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new f7a024d  fix: better backward compatibility for table viz (#10219)
f7a024d is described below

commit f7a024d7de22b32d7045bdc319b70696f3b300be
Author: Jesse Yang <jesse.y...@airbnb.com>
AuthorDate: Wed Jul 1 11:23:08 2020 -0700

    fix: better backward compatibility for table viz (#10219)
---
 .../integration/explore/visualizations/table.test.js       |  3 ++-
 superset-frontend/package-lock.json                        | 14 +++++++-------
 superset-frontend/package.json                             |  2 +-
 3 files changed, 10 insertions(+), 9 deletions(-)

diff --git 
a/superset-frontend/cypress-base/cypress/integration/explore/visualizations/table.test.js
 
b/superset-frontend/cypress-base/cypress/integration/explore/visualizations/table.test.js
index 2212d28..e95fb48 100644
--- 
a/superset-frontend/cypress-base/cypress/integration/explore/visualizations/table.test.js
+++ 
b/superset-frontend/cypress-base/cypress/integration/explore/visualizations/table.test.js
@@ -103,7 +103,8 @@ describe('Visualization > Table', () => {
   it('Test table with columns and row limit', () => {
     const formData = {
       ...VIZ_DEFAULTS,
-      query_mode: 'raw',
+      // should still work when query_mode is not-set/invalid
+      query_mode: undefined,
       all_columns: ['name'],
       metrics: [],
       row_limit: 10,
diff --git a/superset-frontend/package-lock.json 
b/superset-frontend/package-lock.json
index 7413839..cdab2ca 100644
--- a/superset-frontend/package-lock.json
+++ b/superset-frontend/package-lock.json
@@ -6159,9 +6159,9 @@
       }
     },
     "@superset-ui/plugin-chart-table": {
-      "version": "0.14.2",
-      "resolved": 
"https://registry.npmjs.org/@superset-ui/plugin-chart-table/-/plugin-chart-table-0.14.2.tgz";,
-      "integrity": 
"sha512-1LnYQMdYqLPPcASPLQlLZtLTEmx8THibnRnUw/h7DIy2vG2ye70P/Bv/9BbFU32nkr6jokL3GQdwy4eAIdXE/A==",
+      "version": "0.14.5",
+      "resolved": 
"https://registry.npmjs.org/@superset-ui/plugin-chart-table/-/plugin-chart-table-0.14.5.tgz";,
+      "integrity": 
"sha512-H189jqOP0svrbh3VlJWufzN8hRxqQ5l2LtYpAZiwegGKqH9BlkJid61M99xjdTp5Zyzj+n4JA8ksesTe5HlfrQ==",
       "requires": {
         "@emotion/core": "^10.0.28",
         "@types/d3-array": "^2.0.0",
@@ -6173,7 +6173,7 @@
         "match-sorter": "^4.1.0",
         "memoize-one": "^5.1.1",
         "react-icons": "^3.10.0",
-        "react-table": "^7.2.0",
+        "react-table": "^7.2.1",
         "regenerator-runtime": "^0.13.5",
         "xss": "^1.0.6"
       },
@@ -19781,9 +19781,9 @@
       },
       "dependencies": {
         "@babel/runtime": {
-          "version": "7.10.3",
-          "resolved": 
"https://registry.npmjs.org/@babel/runtime/-/runtime-7.10.3.tgz";,
-          "integrity": 
"sha512-RzGO0RLSdokm9Ipe/YD+7ww8X2Ro79qiXZF3HU9ljrM+qnJmH1Vqth+hbiQZy761LnMJTMitHDuKVYTk3k4dLw==",
+          "version": "7.10.4",
+          "resolved": 
"https://registry.npmjs.org/@babel/runtime/-/runtime-7.10.4.tgz";,
+          "integrity": 
"sha512-UpTN5yUJr9b4EX2CnGNWIvER7Ab83ibv0pcvvHc4UOdrBI5jb8bj+32cCwPX6xu0mt2daFNjYhoi+X7beH0RSw==",
           "requires": {
             "regenerator-runtime": "^0.13.4"
           }
diff --git a/superset-frontend/package.json b/superset-frontend/package.json
index 0a92feb..eeffd4f 100644
--- a/superset-frontend/package.json
+++ b/superset-frontend/package.json
@@ -85,7 +85,7 @@
     "@superset-ui/legacy-plugin-chart-sankey": "^0.14.1",
     "@superset-ui/legacy-plugin-chart-sankey-loop": "^0.14.1",
     "@superset-ui/legacy-plugin-chart-sunburst": "^0.14.1",
-    "@superset-ui/plugin-chart-table": "^0.14.2",
+    "@superset-ui/plugin-chart-table": "^0.14.5",
     "@superset-ui/legacy-plugin-chart-treemap": "^0.14.1",
     "@superset-ui/legacy-plugin-chart-world-map": "^0.14.1",
     "@superset-ui/legacy-preset-chart-big-number": "^0.14.1",

Reply via email to