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

hugh pushed a change to branch fix-clickhouse-cpq
in repository https://gitbox.apache.org/repos/asf/superset.git


    from a44caf03f3 refactor
     add e1e9fda72b fix: remove extras from all adhoc_filters controls (#21450)
     add eb4ba5b089 fix: should be able to remove selection from X-AXIS control 
(#21371)
     add 05b97fff4d fix(cache): respect default cache timeout on v1 chart data 
requests (#21441)
     add 59437ea6e7 feat(plugin-chart-echarts): able to sort bar on the bar 
chart V2 (#21356)
     add eac6fdcd29 chore(sqllab): Cleanup /tables/... endpoint (#21284)
     add 44654e5abc perf: Memoize the common_bootstrap_payload and include user 
param (#21018) (#21439)
     add 4ad1de3be5 test: Fix act errors in ExploreChartPanel test (#21456)
     add 3098e657e5 fix(sqllab): Fix cursor alignment in SQL lab editor by 
avoiding Lucida Console font on Windows (#21380)
     add 64d216adb3 fix: permission sqlalchemy events (#21454)
     add 973d870538 chore: remove blank space from users filters (#21346)
     add 6e8cad3e16 feat: Create dataset header component (#21189)
     add ae6d2cf18d fix: hide time_grain when x_axis value is undefined (#21464)
     add 59ca7861c0 fix: dashboard filter value is cleared when 2 similar 
dashboards opened in succession (#21461)
     add 2285ebe72e fix(explore): Prevent shared controls from checking feature 
flags outside React render (#21315)
     add 2c7323a87d fix: Supports form_data param in old Explore endpoint 
(#21469)
     add 4fcc1d952f chore: Extract common select component code (#21094)
     add 1c0bff3dfb fix: revert #21356(able to sort bar on the bar chart V2) 
(#21481)
     add 2dfcba04b0 fix: Time Offset in SQLite and refine logic in Date Type 
conversion (#21378)
     add 324e9979fa fix(explore): Fix generic X-axis time grain disappearing 
(#21484)
     add 33509ab7da fix: BigQuery cannot accept Time Grain (#21489)
     add 2d16100dbc refactor: get Axis from a helper function (#21449)
     add 7c3fc67315 refactor: Moves the DeprecatedSelect to its own folder 
(#21445)
     add b739e27f6d fix: Duplicated numeric values in Select (#21480)
     add 8c16806f57 fix: Address regression introduced in #21284 (#21470)
     add 7e2e8b8ad9 fix: dataset after insert when db relation does not exist 
(#21492)
     add fdb4702332 fix: can't show duckdb table names in the "SEE TABLE 
SCHEMA" dropdown list (#21495)
     add b29e7e7d9e fix: set correct favicon from config for login and FAB list 
views (#21498)
     add 7d2f07e78f chore: Use slim image in Dockerfile (#21326)
     add 94a724e49b perf(word-cloud): reduce render to improve performance 
(#21504)
     add 94ed4279c7 fix: Dataset timeout (#21516)
     add f27e20e30d feat(filters): add onFilterUpdate handler to list view 
filters (#21443)
     add 42000823be chore: should return if get a exception in Dashboard edit 
modal (#21524)
     add 737d4dcf0c refactor: refine timestamp expr function (#21510)
     add 135909f814 feat: Making bar graphs in Table viz from fixed-size divs 
instead of calculated gradients (#21482)
     add 2224ebecfe chore: refactor SqlEditor to functional component (#21320)
     add 6644a84f79 fix(explore): fix chart save when dashboard deleted (#21497)
     add 4d12e3709e feat: generate consistent QueryObject whether GenericAxis 
is enabled or disabled (#21519)
     add c66205feac fix: pie chart orientation description error (#21514)
     add 8ee34e175d feat(helm): add annotations on ServiceAccount (#21536)
     add e438c967c9 fix(docs): added missing timescale.png (#21542)
     add cbadb8773f fix: Reset dataset name after saving a new dataset in SQL 
Lab (#21529)
     add fb835d1437 feat(nav): Update Tabbed Nav on CRUD Pages (#21213)
     add bbac67a2dc refactor: Rewrites ColorSchemeControl with Typescript 
(#21496)
     add e671d80209 feat: support multiple time columns with time grain in 
Pivot Table v2 (#21537)
     add 3f8e9a567a feat(helm): add RollingUpdate parameters (#20931)
     add dc539087c7 chore: Remove chromatic job per PR as it has errors (#21553)
     add 2e564897f8 feat: Add dataset tagging to the back-end (#20892)
     add d67b04683c feat: support multiple columns with time grain in Table 
Chart (#21547)
     add 2ec744da21 feat: Increments charts endpoint with related dashboards 
(#21518)
     add e2b77a7543 fix(sqllab): avoid unexpected re-rendering on 
DatabaseSelector (#21316)
     add 4913da1511 chore(deps): bump moment-timezone from 0.5.33 to 0.5.37 in 
/superset-frontend (#21565)
     add c4638fa2b9 feat: Dataset Creation Footer Component (#21241)
     add 5d51555c46 docs: Turkey map already added (#21566)
     add f4646f8edb feat: adding XAxis to BigNumberTrend (#21577)
     add 73429c6b2a fix(dashboard): show correct roles for dashboard access 
dropdown (#21549)
     add 82bd5a31b8 chore(deps): Unpin sqlparse dependency (#21581)
     add 61c5858f99 Merge branch 'master' of https://github.com/apache/superset 
into fix-clickhouse-cpq
     add 8b747960b3 fix linting

No new revisions were added by this update.

Summary of changes:
 .github/workflows/chromatic-pr.yml                 |  85 --
 .github/workflows/superset-python-unittest.yml     |   2 +-
 Dockerfile                                         |  11 +-
 UPDATING.md                                        |   2 +-
 docs/docs/miscellaneous/country-map-tools.mdx      |   1 +
 docs/static/img/databases/timescale.png            | Bin 0 -> 16120 bytes
 docs/static/resources/openapi.json                 |  19 -
 helm/superset/Chart.yaml                           |   2 +-
 helm/superset/templates/deployment-worker.yaml     |   4 +
 helm/superset/templates/deployment.yaml            |   4 +
 helm/superset/templates/service-account.yaml       |   3 +
 helm/superset/values.schema.json                   |   9 +
 helm/superset/values.yaml                          |  13 +
 requirements/base.txt                              |   2 +-
 scripts/python_tests.sh                            |   2 +-
 setup.py                                           |   2 +-
 superset-frontend/package-lock.json                |  17 +-
 superset-frontend/package.json                     |   2 +-
 .../superset-ui-chart-controls/src/index.ts        |   7 +-
 .../src/operators/pivotOperator.ts                 |   9 +-
 .../src/operators/prophetOperator.ts               |  12 +-
 .../src/operators/renameOperator.ts                |   6 +-
 .../src/operators/timeComparePivotOperator.ts      |   8 +-
 .../src/shared-controls/constants.tsx              |  82 +-
 .../src/shared-controls/dndControls.tsx            | 192 +++--
 .../src/shared-controls/index.tsx                  | 310 ++-----
 .../superset-ui-chart-controls/src/types.ts        |   5 +-
 .../src/utils/expandControlConfig.tsx              |   2 +-
 .../test/operators/pivotOperator.test.ts           |  23 +-
 .../test/operators/prophetOperator.test.ts         |   3 +-
 .../test/operators/renameOperator.test.ts          |   2 +-
 .../operators/timeComparePivotOperator.test.ts     |   4 +-
 .../src/query/buildQueryContext.ts                 |   4 +-
 .../superset-ui-core/src/query/getXAxis.ts}        |  28 +-
 .../packages/superset-ui-core/src/query/index.ts   |   1 +
 .../src/query/normalizeTimeColumn.ts               |   5 +-
 .../test/query/buildQueryContext.test.ts           |   3 +-
 .../superset-ui-core/test/query/getAxis.test.ts    |  71 ++
 .../test/query/normalizeTimeColumn.test.ts         |  50 +-
 .../plugins/plugin-chart-table/birthNames.json     |   1 -
 .../src/controlPanel.tsx                           |   4 +-
 .../src/controlPanel.ts                            |  26 +-
 .../src/controlPanel.ts                            |   4 +-
 .../src/utilities/sharedDndControls.jsx            |   6 +-
 .../src/Bar/controlPanel.ts                        |   2 +-
 .../BigNumber/BigNumberWithTrendline/buildQuery.ts |  40 +-
 .../BigNumberWithTrendline/controlPanel.tsx        |  25 +-
 .../BigNumberWithTrendline/transformProps.ts       |  10 +-
 .../plugin-chart-echarts/src/BigNumber/types.ts    |   2 +-
 .../src/MixedTimeseries/buildQuery.ts              |  16 +-
 .../src/MixedTimeseries/transformProps.ts          |   7 +-
 .../src/Timeseries/Regular/Bar/controlPanel.tsx    |   2 +-
 .../src/Timeseries/buildQuery.ts                   |  24 +-
 .../src/Timeseries/transformProps.ts               |   6 +-
 .../plugins/plugin-chart-echarts/src/controls.tsx  |   2 +-
 .../test/BigNumber/transformProps.test.ts          |   7 +-
 .../test/MixedTimeseries/buildQuery.test.ts        | 129 ++-
 .../test/Timeseries/buildQuery.test.ts             | 179 +++++
 .../src/plugin/controls/columns.tsx                |   4 +-
 .../src/plugin/controls/metrics.tsx                |   2 +-
 .../plugins/plugin-chart-pivot-table/package.json  |   3 +-
 .../src/plugin/buildQuery.ts                       |  39 +-
 .../src/plugin/controlPanel.tsx                    |  41 +-
 .../plugins/plugin-chart-table/package.json        |   1 +
 .../plugins/plugin-chart-table/src/TableChart.tsx  | 103 ++-
 .../plugins/plugin-chart-table/src/buildQuery.ts   |  25 +-
 .../plugin-chart-table/src/controlPanel.tsx        |  91 +--
 .../plugins/plugin-chart-word-cloud/package.json   |   1 +
 .../src/chart/WordCloud.tsx                        |   5 +-
 superset-frontend/spec/fixtures/mockDatasource.js  |   1 -
 .../AceEditorWrapper/AceEditorWrapper.test.tsx     |   2 +-
 .../EstimateQueryCostButton.test.tsx               |   2 +-
 .../QueryLimitSelect/QueryLimitSelect.test.tsx     |   2 +-
 .../src/SqlLab/components/QuerySearch/index.tsx    |   2 +-
 .../RunQueryActionButton.test.tsx                  |   2 +-
 .../SqlLab/components/SaveDatasetModal/index.tsx   |   9 +-
 .../SqlLab/components/SqlEditor/SqlEditor.test.jsx |   1 -
 .../src/SqlLab/components/SqlEditor/index.jsx      | 888 +++++++++------------
 .../SqlEditorTabHeader/SqlEditorTabHeader.test.tsx |   2 +-
 .../TemplateParamsEditor.test.tsx                  |   2 +-
 superset-frontend/src/SqlLab/constants.ts          |   6 +
 superset-frontend/src/SqlLab/main.less             |   4 +-
 .../components/AsyncSelect/AsyncSelect.test.jsx    |   2 +-
 .../src/components/AsyncSelect/index.jsx           |   2 +-
 .../DatabaseSelector/DatabaseSelector.test.tsx     |   7 -
 .../src/components/DatabaseSelector/index.tsx      |  35 +-
 .../DeprecatedSelect.stories.tsx                   |   0
 .../DeprecatedSelect.tsx                           |   2 +-
 .../{Select => DeprecatedSelect}/NativeSelect.tsx  |   0
 .../{Select => DeprecatedSelect}/OnPasteSelect.jsx |   2 +-
 .../OnPasteSelect.test.jsx                         |   6 +-
 .../WindowedSelect/WindowedMenuList.tsx            |   2 +-
 .../WindowedSelect/index.tsx                       |   0
 .../WindowedSelect/windowed.tsx                    |   0
 .../{Select => DeprecatedSelect}/index.ts          |   0
 .../{Select => DeprecatedSelect}/styles.tsx        |   0
 .../{Select => DeprecatedSelect}/utils.ts          |  40 -
 .../src/components/ListView/Filters/Select.tsx     |   4 +-
 .../src/components/ListView/Filters/index.tsx      |  37 +-
 superset-frontend/src/components/ListView/types.ts |   1 +
 superset-frontend/src/components/ListView/utils.ts |   2 +-
 .../src/components/PageHeaderWithActions/index.tsx |   8 +
 .../src/components/Select/AsyncSelect.test.tsx     |  20 +
 .../src/components/Select/AsyncSelect.tsx          | 392 +++------
 .../src/components/Select/Select.stories.tsx       |  17 +-
 .../src/components/Select/Select.test.tsx          |  17 +
 superset-frontend/src/components/Select/Select.tsx | 318 ++------
 superset-frontend/src/components/Select/utils.tsx  | 449 +++++++++++
 .../TableSelector/TableSelector.test.tsx           |   1 -
 .../src/components/TableSelector/index.tsx         |  13 +-
 superset-frontend/src/components/Tooltip/index.tsx |   7 +-
 .../DashboardBuilder/DashboardBuilder.test.tsx     |   4 +-
 .../PropertiesModal/PropertiesModal.test.tsx       | 179 ++++-
 .../dashboard/components/PropertiesModal/index.tsx |  79 +-
 .../dashboard/components/RefreshIntervalModal.tsx  |   3 +-
 .../components/nativeFilters/FilterBar/index.tsx   |   9 +-
 .../src/explore/actions/hydrateExplore.ts          |   1 -
 .../src/explore/actions/saveModalActions.js        |  42 +-
 .../src/explore/actions/saveModalActions.test.js   |  61 +-
 .../explore/components/ExploreChartPanel.test.jsx  |  11 +-
 .../components/ExploreViewContainer/index.jsx      |   1 -
 .../src/explore/components/SaveModal.tsx           |  22 +-
 .../ColorSchemeControl/ColorScheme.test.jsx        |  43 -
 .../ColorSchemeControl/ColorSchemeControl.test.tsx |   4 +-
 .../controls/ColorSchemeControl/index.jsx          | 184 -----
 .../controls/ColorSchemeControl/index.tsx          | 189 +++++
 .../DndColumnSelect.test.tsx                       |  15 +-
 .../DndColumnSelectControl/DndColumnSelect.tsx     |  80 +-
 .../DndFilterSelect.test.tsx                       |  10 +-
 .../DndColumnSelectControl/DndFilterSelect.tsx     |  12 +-
 .../DndMetricSelect.test.tsx                       |   9 +
 .../DndColumnSelectControl/DndMetricSelect.tsx     |  12 +-
 .../controls/DndColumnSelectControl/types.ts       |   1 +
 .../controls/SelectAsyncControl/index.tsx          |   7 +-
 .../src/explore/controlUtils/getControlState.ts    |  15 +
 .../components/Select/SelectFilterPlugin.tsx       |   2 +-
 .../src/hooks/apiResources/tables.test.ts          |  31 +-
 superset-frontend/src/hooks/apiResources/tables.ts |  11 +-
 superset-frontend/src/logger/LogUtils.ts           |  17 +
 .../src/views/CRUD/alert/AlertReportModal.tsx      |   2 +-
 superset-frontend/src/views/CRUD/data/common.ts    |  14 +-
 .../views/CRUD/data/database/DatabaseList.test.jsx |   4 +
 .../src/views/CRUD/data/database/DatabaseList.tsx  |   3 +-
 .../data/database/DatabaseModal/ExtraOptions.tsx   |  18 -
 .../data/database/DatabaseModal/index.test.jsx     |  14 +-
 .../src/views/CRUD/data/database/types.ts          |   1 -
 .../data/dataset/AddDataset/AddDataset.test.tsx    |   9 +-
 .../data/dataset/AddDataset/Footer/Footer.test.tsx |  43 +-
 .../CRUD/data/dataset/AddDataset/Footer/index.tsx  | 101 ++-
 .../data/dataset/AddDataset/Header/Header.test.tsx |  58 +-
 .../CRUD/data/dataset/AddDataset/Header/index.tsx  |  78 +-
 .../data/dataset/AddDataset/LeftPanel/index.tsx    |  63 +-
 .../views/CRUD/data/dataset/AddDataset/index.tsx   |  18 +-
 .../views/CRUD/data/dataset/AddDataset/types.tsx   |  17 +-
 .../dataset/DatasetLayout/DatasetLayout.test.tsx   |  23 +-
 .../CRUD/data/dataset/DatasetLayout/index.tsx      |  26 +-
 .../views/CRUD/data/dataset/DatasetList.test.jsx   |   9 +
 .../src/views/CRUD/data/dataset/DatasetList.tsx    |   3 +-
 .../src/views/CRUD/data/dataset/styles.ts          |  45 +-
 .../src/views/CRUD/data/query/QueryList.test.tsx   |  23 +
 .../CRUD/data/savedquery/SavedQueryList.test.jsx   |  18 +
 superset-frontend/src/views/CRUD/utils.tsx         |   8 +-
 .../src/visualizations/FilterBox/FilterBox.jsx     |   7 +-
 superset/charts/api.py                             |   5 +
 superset/charts/schemas.py                         |   8 +-
 superset/cli/update.py                             |  33 -
 superset/common/query_context_processor.py         |  70 +-
 superset/common/tags.py                            | 315 +++++---
 superset/config.py                                 |   3 -
 superset/connectors/sqla/models.py                 |  10 +-
 superset/dashboards/schemas.py                     |   1 -
 superset/databases/api.py                          |   3 -
 superset/databases/schemas.py                      |  13 +-
 superset/db_engine_specs/base.py                   |  45 +-
 superset/db_engine_specs/duckdb.py                 |   3 +-
 superset/db_engine_specs/hive.py                   |   6 -
 superset/db_engine_specs/pinot.py                  |   1 -
 superset/db_engine_specs/presto.py                 |  20 -
 superset/db_engine_specs/sqlite.py                 |  32 -
 superset/embedded/view.py                          |   4 +-
 superset/initialization/__init__.py                |   4 +
 ...8-07-26_11-10_c82ee8a39623_add_implicit_tags.py |   2 +-
 ...op_column_allow_multi_schema_metadata_fetch.py} |  26 +-
 superset/models/core.py                            |  54 +-
 superset/models/dashboard.py                       |   7 -
 superset/models/helpers.py                         |   5 +-
 superset/models/slice.py                           |   8 -
 superset/models/sql_lab.py                         |   7 -
 superset/security/manager.py                       | 102 ++-
 superset/tags/core.py                              |  88 ++
 superset/{models/tags.py => tags/models.py}        |  46 +-
 superset/tasks/cache.py                            |   2 +-
 superset/templates/superset/base.html              |  10 +-
 superset/utils/core.py                             | 112 ++-
 superset/utils/url_map_converters.py               |   2 +-
 superset/views/base.py                             |  27 +-
 superset/views/core.py                             | 204 +++--
 superset/views/dashboard/views.py                  |   2 +-
 superset/views/database/mixins.py                  |   7 -
 superset/views/tags.py                             |  30 +-
 superset/viz.py                                    |  13 +-
 tests/integration_tests/charts/api_tests.py        |  45 ++
 tests/integration_tests/charts/data/api_tests.py   |  63 +-
 tests/integration_tests/conftest.py                |  10 +
 tests/integration_tests/core_tests.py              |  61 +-
 tests/integration_tests/databases/api_tests.py     |   1 -
 .../db_engine_specs/bigquery_tests.py              |   6 +-
 .../db_engine_specs/presto_tests.py                |  13 -
 .../fixtures/{client.py => tags.py}                |  15 +-
 tests/integration_tests/query_context_tests.py     | 110 ++-
 tests/integration_tests/security_tests.py          |  25 +-
 tests/integration_tests/strategy_tests.py          |   2 +-
 tests/integration_tests/tagging_tests.py           | 276 +++++++
 tests/integration_tests/utils_tests.py             |  14 +-
 tests/unit_tests/db_engine_specs/test_sqlite.py    |  49 --
 tests/unit_tests/sql_parse_tests.py                |  19 +-
 tests/unit_tests/utils/test_core.py                |  86 ++
 217 files changed, 4789 insertions(+), 3116 deletions(-)
 delete mode 100644 .github/workflows/chromatic-pr.yml
 create mode 100644 docs/static/img/databases/timescale.png
 copy 
superset-frontend/{plugins/plugin-chart-handlebars/src/plugin/buildQuery.ts => 
packages/superset-ui-core/src/query/getXAxis.ts} (62%)
 create mode 100644 
superset-frontend/packages/superset-ui-core/test/query/getAxis.test.ts
 rename superset-frontend/src/components/{Select => 
DeprecatedSelect}/DeprecatedSelect.stories.tsx (100%)
 rename superset-frontend/src/components/{Select => 
DeprecatedSelect}/DeprecatedSelect.tsx (100%)
 rename superset-frontend/src/components/{Select => 
DeprecatedSelect}/NativeSelect.tsx (100%)
 rename superset-frontend/src/components/{Select => 
DeprecatedSelect}/OnPasteSelect.jsx (98%)
 rename superset-frontend/src/components/{Select => 
DeprecatedSelect}/OnPasteSelect.test.jsx (98%)
 rename superset-frontend/src/components/{Select => 
DeprecatedSelect}/WindowedSelect/WindowedMenuList.tsx (98%)
 rename superset-frontend/src/components/{Select => 
DeprecatedSelect}/WindowedSelect/index.tsx (100%)
 rename superset-frontend/src/components/{Select => 
DeprecatedSelect}/WindowedSelect/windowed.tsx (100%)
 rename superset-frontend/src/components/{Select => DeprecatedSelect}/index.ts 
(100%)
 rename superset-frontend/src/components/{Select => 
DeprecatedSelect}/styles.tsx (100%)
 rename superset-frontend/src/components/{Select => DeprecatedSelect}/utils.ts 
(66%)
 create mode 100644 superset-frontend/src/components/Select/utils.tsx
 delete mode 100644 
superset-frontend/src/explore/components/controls/ColorSchemeControl/ColorScheme.test.jsx
 delete mode 100644 
superset-frontend/src/explore/components/controls/ColorSchemeControl/index.jsx
 create mode 100644 
superset-frontend/src/explore/components/controls/ColorSchemeControl/index.tsx
 copy 
superset/migrations/versions/{2018-03-06_12-24_e68c4473c581_allow_multi_schema_metadata_fetch.py
 => 
2022-08-31_19-30_291f024254b5_drop_column_allow_multi_schema_metadata_fetch.py} 
(78%)
 create mode 100644 superset/tags/core.py
 rename superset/{models/tags.py => tags/models.py} (84%)
 copy tests/integration_tests/fixtures/{client.py => tags.py} (63%)
 create mode 100644 tests/unit_tests/utils/test_core.py

Reply via email to