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 2212d28090bf..e95fb4886c75 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 7413839e33ce..cdab2caff5c7 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 0a92feb07dee..eeffd4fa36ef 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",