You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by be...@apache.org on 2023/04/24 20:08:01 UTC

[superset] branch fix_generic_axis updated (261a603061 -> 84227ec6de)

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

beto pushed a change to branch fix_generic_axis
in repository https://gitbox.apache.org/repos/asf/superset.git


 discard 261a603061 Fix test
 discard 0377f2f233 Fix type
 discard 1fceeb9f10 New test
 discard 49ac621db8 Better fix
 discard 3e38be5d68 Trigger tests.
 discard 4efecaca8f fix: pivot v2 charts created before GENERIC_CHART_AXES is enabled
     add 6234888c69 chore: Removes deprecated feature flags for 3.0 (#23663)
     add 810f52b924 feat(helm): update redis version due to critical CVE (HIGH PRIORITY) (#23707)
     add 3d10296f4b fix: Database modal parameter inputs persisting after modal closed and reopened (#23686)
     add c197bf9e6d fix(sqllab): rendering performance regression (#23695)
     add 5a6b777cf8 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.58.0 to 5.59.0 in /superset-websocket (#23719)
     add 37a78b14be feat(sqllab): add headers when copying results to clipboard (#23720)
     add e9b4022787 fix: is_select check for lowercase select with "WITH" clauses (#22370)
     add 0ad6c879b3 feat: add enforce URI query params with a specific for MySQL (#23723)
     add 70f3cc0b27 chore(helm): Reformat helm chart templates (#23681)
     add 2a01aa66d5 feat: Add loading state to sqllab save/overwrite dataset modal (#23697)
     add 8bd432274a chore(api v1): Deprecate superset/override_role_permissions endpoint (#23714)
     add 0c0d2b38a6 fix(sqllab): infinite running state on disconnect (#23669)
     add d6b6d9eae6 feat: Makes "Add to dashboard" in Save chart modal paginated (#23634)
     add 818a1d482b feat: Drill by error management (#23724)
     add 44557f5a23 chore(api v1): Deprecate datasource/save and datasource/get endpoints (#23678)
     add 306fb22021 chore(chart-data): add post processing error message to response (#23734)
     add f80e738196 fix: get or create db with an existing invalid URL (#23737)
     add b2b8c3e05b fix(ace-editor): use monospace fonts by default (#23747)
     add 60c9d68403 feat(adhoc-column): add resize option (#23748)
     add 171d93cee0 build(deps-dev): bump @typescript-eslint/parser from 5.58.0 to 5.59.0 in /superset-websocket (#23718)
     add c9ca17220f fix(cache): coerce schema_cache_timeout to None (#23157)
     add 7a6fb86cbb fix: Make sure the DeprecatedSelect label is always a string (#23758)
     add c441a7050d chore: add check constraint to restrict `Slice` models datasource_type != "table" (#23614)
     add 3028d40333 build(deps): bump vm2 from 3.9.15 to 3.9.17 in /superset-frontend (#23753)
     add a09162bb37 build(deps-dev): bump @types/node from 18.15.11 to 18.15.12 in /superset-websocket (#23746)
     add 5bec1a65ae refactor(sqllab): Remove tableOptions from redux state (#23488)
     add d0fda60c85 feat(native-filters): Add legacy (filter-box) to native filter migration script (#23269)
     add a3c971cbda chore(docs): copy change submitted through BugHerd (#23725)
     add 295975d16b chore(actions): Fix for Chromatic action using actions/checkout@v3 (#23759)
     add b31efbae7c chore: remove RemovedInMarshmallow4 warnings (#23704)
     add 0b43112873 fix: Further drilling by different groupby fields (#23754)
     add 764c3c95cf fix(mssql): apply top after distinct (#23751)
     add 2f7229cae8 fix: Drill by modal resizing (#23757)
     add 4d97ecec65 chore(feature flags): updating the status of a few flags (#23670)
     add b734a0f82e feat: Display both queries result in Table mode for Mixed Chart in drill by modal (#23768)
     add 35f36a20ff chore(e2e): skip the worst offender of flaky tests. (#23772)
     add b92ace46b0 fix(sqllab): Persisting tab state for saved query  (#23087)
     add 3193111d98 build(deps-dev): bump @types/node from 18.15.12 to 18.15.13 in /superset-websocket (#23765)
     add 4b3e507e8b fix(native-filters): Fix encoding of non-temporal default values (#23779)
     add 669e1802a6 fix: [chart power query] error show when user input column with x-axis (#23776)
     add adde66785c feat: Add Ocient support (#22812)
     add 6ae5388dcf fix: allow db driver distinction on enforced URI params (#23769)
     add d4c0ae34f4 fix: Context menu crashing when there is no dimension in Echarts Series charts (#23797)
     add c536d92ade fix: Docker ephemeral env (#23786)
     add f7810b6020 feat(revert): Re-introduces the RLS page (#23777)
     add 90e2b839a3 chore: Deprecates FilterBox (#23784)
     add 039740cdd4 chore: Add DRILL_BY to FEATURE_FLAGS.md (#23798)
     add be5c1b0696 build(deps-dev): bump prettier from 2.8.7 to 2.8.8 in /superset-websocket (#23789)
     add a9d0d70977 build(deps-dev): bump eslint from 8.38.0 to 8.39.0 in /superset-websocket (#23790)
     add baec9ddba7 build(deps-dev): bump @types/node from 18.15.13 to 18.16.0 in /superset-websocket (#23791)
     add 4873c0990a chore: Add tests to SQL lab button components (#22916)
     add 71106cfd97 feat: create dtype option for csv upload (#23716)
     add 742c2cd8fb fix(datasource): saving new calculated columns (#23783)
     add cc6d75c512 fix: pivot v2 charts created before GENERIC_CHART_AXES is enabled
     add cfec6aa134 Trigger tests.
     add dcd0bcb4bc Better fix
     add 41e49406a4 New test
     add 5e6d713a70 Fix type
     add 84227ec6de Fix test

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (261a603061)
            \
             N -- N -- N   refs/heads/fix_generic_axis (84227ec6de)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 .github/workflows/chromatic-master.yml             |   2 +
 .github/workflows/docker-ephemeral-env.yml         | 124 +--
 RESOURCES/FEATURE_FLAGS.md                         |  17 +-
 UPDATING.md                                        |   2 +
 docs/docs/databases/ocient.mdx                     |  37 +
 docs/docs/frequently-asked-questions.mdx           |   4 +-
 .../docs/miscellaneous/native-filter-migration.mdx | 103 +++
 helm/superset/Chart.lock                           |   6 +-
 helm/superset/Chart.yaml                           |   4 +-
 helm/superset/README.md                            |   4 +-
 helm/superset/templates/NOTES.txt                  |   4 +-
 helm/superset/templates/_helpers.tpl               |  45 +-
 helm/superset/templates/configmap-superset.yaml    |   8 +-
 helm/superset/templates/deployment-beat.yaml       |  75 +-
 helm/superset/templates/deployment-flower.yaml     |  76 +-
 helm/superset/templates/deployment-worker.yaml     |  95 +--
 helm/superset/templates/deployment-ws.yaml         |  68 +-
 helm/superset/templates/deployment.yaml            |  96 +--
 helm/superset/templates/ingress.yaml               |  21 +-
 helm/superset/templates/init-job.yaml              |  48 +-
 helm/superset/templates/secret-env.yaml            |   2 +-
 .../superset/templates/secret-superset-config.yaml |  18 +-
 helm/superset/templates/secret-ws.yaml             |   6 +-
 helm/superset/templates/service-account.yaml       |   2 +-
 helm/superset/templates/service.yaml               |  19 +-
 helm/superset/values.yaml                          |  51 +-
 requirements/base.txt                              |  35 +-
 requirements/development.txt                       |   2 -
 requirements/integration.txt                       |   8 +-
 setup.py                                           |   6 +
 .../cypress/integration/dashboard/editmode.test.ts |   3 +-
 .../cypress/integration/dashboard/utils.ts         |   4 -
 .../integration/dataset/dataset_list.test.ts       |   2 +-
 .../cypress/integration/explore/utils.ts           |   7 +-
 superset-frontend/package-lock.json                |  12 +-
 .../superset-ui-chart-controls/src/fixtures.ts     |   2 +-
 .../superset-ui-chart-controls/src/types.ts        |   2 +-
 .../test/utils/columnChoices.test.tsx              |   2 +-
 .../test/utils/defineSavedMetrics.test.tsx         |   2 +-
 .../src/components/SafeMarkdown.tsx                |   7 +-
 .../superset-ui-core/src/utils/featureFlags.ts     |   3 -
 .../test/utils/featureFlag.test.ts                 |  10 +-
 .../src/Timeseries/EchartsTimeseries.tsx           |   2 +-
 superset-frontend/src/SqlLab/actions/sqlLab.js     |  10 +-
 .../SqlLab/components/AceEditorWrapper/index.tsx   |  19 +-
 .../src/SqlLab/components/App/index.jsx            |   3 +-
 .../EstimateQueryCostButton.test.tsx               |  47 +-
 .../ExploreCtasResultsButton.test.tsx              |  95 +++
 .../components/ExploreCtasResultsButton/index.tsx  |   2 +-
 .../ExploreResultsButton.test.jsx                  |  67 --
 .../ExploreResultsButton.test.tsx}                 |  46 +-
 .../components/ExploreResultsButton/index.tsx      |   2 +-
 .../QueryAutoRefresh/QueryAutoRefresh.test.tsx     | 127 ++-
 .../SqlLab/components/QueryAutoRefresh/index.tsx   |  46 +-
 .../SqlLab/components/SaveDatasetModal/index.tsx   |   8 +
 .../src/SqlLab/components/SaveQuery/index.tsx      |   1 -
 .../SqlLab/components/SqlEditor/SqlEditor.test.jsx |  49 +-
 .../src/SqlLab/components/SqlEditor/index.jsx      |   3 +-
 .../SqlLab/components/SqlEditorLeftBar/index.tsx   |  11 -
 superset-frontend/src/SqlLab/fixtures.ts           |   1 -
 superset-frontend/src/SqlLab/reducers/sqlLab.js    |  27 +-
 superset-frontend/src/SqlLab/types.ts              |   1 -
 .../src/components/AsyncAceEditor/index.tsx        |   3 +
 .../Chart/ChartContextMenu/ChartContextMenu.tsx    |   4 +-
 .../src/components/Chart/DrillBy/DrillByChart.tsx  |   1 +
 .../Chart/DrillBy/DrillByMenuItems.test.tsx        |   9 +-
 .../components/Chart/DrillBy/DrillByMenuItems.tsx  |  35 +-
 .../components/Chart/DrillBy/DrillByModal.test.tsx |  31 +-
 .../src/components/Chart/DrillBy/DrillByModal.tsx  | 230 +++--
 .../Chart/DrillBy/useResultsTableView.test.ts      | 108 +++
 .../Chart/DrillBy/useResultsTableView.tsx          |  73 ++
 .../Datasource/ChangeDatasourceModal.test.jsx      |   4 +-
 .../Datasource/ChangeDatasourceModal.tsx           |   6 +-
 .../components/Datasource/DatasourceModal.test.jsx |  12 +-
 .../src/components/Datasource/DatasourceModal.tsx  |  98 ++-
 .../DeprecatedSelect/DeprecatedSelect.tsx          |   4 +-
 .../TableSelector/TableSelector.test.tsx           |  47 --
 .../src/components/TableSelector/index.tsx         |  10 -
 superset-frontend/src/dashboard/constants.ts       |   2 +-
 .../src/explore/actions/datasourcesActions.test.ts |   4 +-
 .../src/explore/actions/saveModalActions.js        |  37 -
 .../src/explore/actions/saveModalActions.test.js   |  68 --
 .../DataTablesPane/test/DataTablesPane.test.tsx    |   2 +-
 .../src/explore/components/SaveModal.test.jsx      |  24 +-
 .../src/explore/components/SaveModal.tsx           | 294 ++++---
 .../DatasourceControl/DatasourceControl.test.tsx   |  23 +-
 .../DndColumnSelectControl/ColumnSelectPopover.tsx |  15 +-
 .../DndColumnSelectControl/useResizeButton.tsx     | 139 +++
 .../FilterControl/AdhocFilterEditPopover/index.jsx |   2 +-
 .../MetricControl/AdhocMetricEditPopover/index.jsx |   2 +-
 superset-frontend/src/explore/constants.ts         |   2 -
 .../src/explore/controlUtils/controlUtils.test.tsx |   2 +-
 ...etControlValuesCompatibleWithDatasource.test.ts |   2 +-
 superset-frontend/src/explore/fixtures.tsx         |   4 +-
 .../src/features/alerts/AlertReportModal.test.tsx  |   2 +-
 .../databases/DatabaseModal/ExtraOptions.tsx       |   4 +-
 .../src/features/databases/DatabaseModal/index.tsx |   5 +-
 .../features/rls/RowLevelSecurityModal.test.tsx    | 295 +++++++
 .../src/features/rls/RowLevelSecurityModal.tsx     | 479 +++++++++++
 .../Pie/data.ts => src/features/rls/constants.ts}  |  15 +-
 .../ColorScheme.ts => src/features/rls/types.ts}   |  59 +-
 .../RowLevelSecurityList.test.tsx                  | 259 ++++++
 .../src/pages/RowLevelSecurityList/index.tsx       | 350 ++++++++
 superset-frontend/src/utils/common.js              |  10 +-
 superset-frontend/src/utils/common.test.jsx        |  24 +-
 .../src/utils/getDatasourceUid.test.ts             |   2 +-
 superset-frontend/src/utils/hostNamesConfig.js     |   4 +-
 superset-frontend/src/views/routes.tsx             |  11 +
 .../src/visualizations/FilterBox/FilterBox.jsx     |   3 +
 .../FilterBox/FilterBoxChartPlugin.js              |   6 +-
 superset-websocket/package-lock.json               | 241 +++---
 superset-websocket/package.json                    |  10 +-
 superset/advanced_data_type/schemas.py             |   6 +-
 superset/annotation_layers/annotations/schemas.py  |  28 +-
 superset/annotation_layers/schemas.py              |  16 +-
 superset/cachekeys/schemas.py                      |  12 +-
 superset/charts/schemas.py                         | 929 +++++++++++++--------
 superset/cli/main.py                               |   5 +-
 superset/cli/native_filters.py                     | 398 +++++++++
 superset/common/query_context_processor.py         |   2 +-
 superset/config.py                                 |  22 +-
 superset/connectors/base/models.py                 |  40 +-
 superset/connectors/sqla/models.py                 |  14 +-
 superset/connectors/sqla/views.py                  | 117 +--
 superset/dao/base.py                               |  11 +
 superset/dashboards/permalink/schemas.py           |  18 +-
 superset/dashboards/schemas.py                     | 101 ++-
 superset/databases/api.py                          |   2 +-
 superset/databases/schemas.py                      | 227 +++--
 superset/datasets/api.py                           |   8 +
 superset/datasets/commands/exceptions.py           |  17 +
 superset/datasets/commands/update.py               |  11 +
 superset/datasets/schemas.py                       |  40 +-
 superset/db_engine_specs/base.py                   |  51 +-
 superset/db_engine_specs/bigquery.py               |   2 +-
 superset/db_engine_specs/clickhouse.py             |  21 +-
 superset/db_engine_specs/databricks.py             |   5 +-
 superset/db_engine_specs/gsheets.py                |   6 +-
 superset/db_engine_specs/mysql.py                  |  14 +-
 superset/db_engine_specs/ocient.py                 | 342 ++++++++
 superset/db_engine_specs/redshift.py               |  40 +
 superset/explore/form_data/schemas.py              |  20 +-
 superset/explore/permalink/schemas.py              |  14 +-
 superset/explore/schemas.py                        | 174 ++--
 superset/initialization/__init__.py                |  22 +-
 ...3-27_12-30_7e67aecbf3f1_chart_ds_constraint.py} |  67 +-
 superset/models/core.py                            |   5 +-
 superset/models/sql_lab.py                         |  26 +-
 superset/reports/schemas.py                        | 107 +--
 .../api.py                                         | 298 ++++---
 .../commands}/__init__.py                          |   0
 .../commands/bulk_delete.py                        |  28 +-
 .../commands/create.py                             |  50 +-
 .../commands/exceptions.py                         |  10 +-
 .../commands/update.py                             |  56 +-
 .../utils.py => row_level_security/dao.py}         |   8 +-
 superset/row_level_security/schemas.py             | 154 ++++
 superset/security/manager.py                       |   1 -
 superset/sql_parse.py                              |   4 +-
 superset/sqllab/schemas.py                         |  14 +-
 .../form_view/csv_to_database_view/edit.html       |   4 +
 superset/templates/superset/models/rls/list.html   |  96 ---
 superset/temporary_cache/schemas.py                |   4 +-
 .../utils/dashboard_filter_scopes_converter.py     | 256 +++++-
 superset/views/base_api.py                         |  18 +-
 superset/views/core.py                             |   1 +
 superset/views/database/forms.py                   |  10 +
 superset/views/database/views.py                   |   3 +
 superset/views/datasource/schemas.py               |   2 +-
 superset/views/datasource/views.py                 |   3 +
 superset/views/log/schemas.py                      |  23 +-
 superset/views/sql_lab/views.py                    |   2 +
 superset/viz.py                                    |   2 +
 tests/integration_tests/charts/data/api_tests.py   |  27 +
 tests/integration_tests/csv_upload_tests.py        |  44 +-
 tests/integration_tests/datasets/api_tests.py      |  50 +-
 .../db_engine_specs/redshift_tests.py              |  61 ++
 .../7e67aecbf3f1_chart_ds_constraint__tests.py     |  56 ++
 tests/integration_tests/model_tests.py             |  25 +
 .../security/row_level_security_tests.py           | 419 +++++++++-
 tests/integration_tests/utils_tests.py             |   7 +
 tests/unit_tests/db_engine_specs/test_mssql.py     |   1 +
 tests/unit_tests/db_engine_specs/test_mysql.py     |  62 +-
 tests/unit_tests/db_engine_specs/test_ocient.py    | 215 +++++
 tests/unit_tests/sql_parse_tests.py                |  22 +
 185 files changed, 7071 insertions(+), 2592 deletions(-)
 create mode 100644 docs/docs/databases/ocient.mdx
 create mode 100644 docs/docs/miscellaneous/native-filter-migration.mdx
 create mode 100644 superset-frontend/src/SqlLab/components/ExploreCtasResultsButton/ExploreCtasResultsButton.test.tsx
 delete mode 100644 superset-frontend/src/SqlLab/components/ExploreResultsButton/ExploreResultsButton.test.jsx
 copy superset-frontend/src/{dashboard/components/nativeFilters/FilterBar/FilterConfigurationLink/FilterConfigurationLink.test.tsx => SqlLab/components/ExploreResultsButton/ExploreResultsButton.test.tsx} (51%)
 create mode 100644 superset-frontend/src/components/Chart/DrillBy/useResultsTableView.test.ts
 create mode 100644 superset-frontend/src/components/Chart/DrillBy/useResultsTableView.tsx
 create mode 100644 superset-frontend/src/explore/components/controls/DndColumnSelectControl/useResizeButton.tsx
 create mode 100644 superset-frontend/src/features/rls/RowLevelSecurityModal.test.tsx
 create mode 100644 superset-frontend/src/features/rls/RowLevelSecurityModal.tsx
 copy superset-frontend/{packages/superset-ui-demo/storybook/stories/plugins/legacy-preset-chart-nvd3/Pie/data.ts => src/features/rls/constants.ts} (83%)
 copy superset-frontend/{packages/superset-ui-core/src/color/ColorScheme.ts => src/features/rls/types.ts} (63%)
 create mode 100644 superset-frontend/src/pages/RowLevelSecurityList/RowLevelSecurityList.test.tsx
 create mode 100644 superset-frontend/src/pages/RowLevelSecurityList/index.tsx
 create mode 100644 superset/cli/native_filters.py
 create mode 100644 superset/db_engine_specs/ocient.py
 copy superset/migrations/versions/{2022-04-18_11-20_ad07e4fdbaba_rm_time_range_endpoints_from_qc_3.py => 2023-03-27_12-30_7e67aecbf3f1_chart_ds_constraint.py} (53%)
 copy superset/{annotation_layers => row_level_security}/api.py (55%)
 copy superset/{advanced_data_type => row_level_security/commands}/__init__.py (100%)
 copy superset/{css_templates => row_level_security}/commands/bulk_delete.py (69%)
 copy superset/{annotation_layers => row_level_security}/commands/create.py (54%)
 copy superset/{css_templates => row_level_security}/commands/exceptions.py (81%)
 copy superset/{databases/ssh_tunnel => row_level_security}/commands/update.py (50%)
 copy superset/{temporary_cache/utils.py => row_level_security/dao.py} (82%)
 create mode 100644 superset/row_level_security/schemas.py
 delete mode 100644 superset/templates/superset/models/rls/list.html
 create mode 100644 tests/integration_tests/migrations/7e67aecbf3f1_chart_ds_constraint__tests.py
 create mode 100644 tests/unit_tests/db_engine_specs/test_ocient.py