You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2023/04/25 16:03:15 UTC

[superset] branch hxgh-apiv1-sqllab-viz updated (1ec7906d3f -> cca9d8aed5)

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

hugh pushed a change to branch hxgh-apiv1-sqllab-viz
in repository https://gitbox.apache.org/repos/asf/superset.git


    omit 1ec7906d3f Merge branch 'master' into hxgh-apiv1-sqllab-viz
    omit 742c2cd8fb fix(datasource): saving new calculated columns (#23783)
    omit 71106cfd97 feat: create dtype option for csv upload (#23716)
    omit 4873c0990a chore: Add tests to SQL lab button components (#22916)
    omit baec9ddba7 build(deps-dev): bump @types/node from 18.15.13 to 18.16.0 in /superset-websocket (#23791)
    omit a9d0d70977 build(deps-dev): bump eslint from 8.38.0 to 8.39.0 in /superset-websocket (#23790)
    omit be5c1b0696 build(deps-dev): bump prettier from 2.8.7 to 2.8.8 in /superset-websocket (#23789)
    omit 039740cdd4 chore: Add DRILL_BY to FEATURE_FLAGS.md (#23798)
    omit 90e2b839a3 chore: Deprecates FilterBox (#23784)
    omit f7810b6020 feat(revert): Re-introduces the RLS page (#23777)
    omit c536d92ade fix: Docker ephemeral env (#23786)
    omit d4c0ae34f4 fix: Context menu crashing when there is no dimension in Echarts Series charts (#23797)
    omit 6ae5388dcf fix: allow db driver distinction on enforced URI params (#23769)
    omit adde66785c feat: Add Ocient support (#22812)
    omit 669e1802a6 fix: [chart power query] error show when user input column with x-axis (#23776)
    omit 4b3e507e8b fix(native-filters): Fix encoding of non-temporal default values (#23779)
    omit 3193111d98 build(deps-dev): bump @types/node from 18.15.12 to 18.15.13 in /superset-websocket (#23765)
    omit b92ace46b0 fix(sqllab): Persisting tab state for saved query  (#23087)
    omit 35f36a20ff chore(e2e): skip the worst offender of flaky tests. (#23772)
    omit b734a0f82e feat: Display both queries result in Table mode for Mixed Chart in drill by modal (#23768)
    omit 4d97ecec65 chore(feature flags): updating the status of a few flags (#23670)
    omit 2f7229cae8 fix: Drill by modal resizing (#23757)
    omit 764c3c95cf fix(mssql): apply top after distinct (#23751)
    omit 0b43112873 fix: Further drilling by different groupby fields (#23754)
    omit b31efbae7c chore: remove RemovedInMarshmallow4 warnings (#23704)
    omit 295975d16b chore(actions): Fix for Chromatic action using actions/checkout@v3 (#23759)
    omit a3c971cbda chore(docs): copy change submitted through BugHerd (#23725)
    omit d0fda60c85 feat(native-filters): Add legacy (filter-box) to native filter migration script (#23269)
    omit 5bec1a65ae refactor(sqllab): Remove tableOptions from redux state (#23488)
    omit a09162bb37 build(deps-dev): bump @types/node from 18.15.11 to 18.15.12 in /superset-websocket (#23746)
    omit 3028d40333 build(deps): bump vm2 from 3.9.15 to 3.9.17 in /superset-frontend (#23753)
    omit c441a7050d chore: add check constraint to restrict `Slice` models datasource_type != "table" (#23614)
    omit 7a6fb86cbb fix: Make sure the DeprecatedSelect label is always a string (#23758)
    omit c9ca17220f fix(cache): coerce schema_cache_timeout to None (#23157)
    omit 171d93cee0 build(deps-dev): bump @typescript-eslint/parser from 5.58.0 to 5.59.0 in /superset-websocket (#23718)
    omit 60c9d68403 feat(adhoc-column): add resize option (#23748)
    omit b2b8c3e05b fix(ace-editor): use monospace fonts by default (#23747)
    omit f80e738196 fix: get or create db with an existing invalid URL (#23737)
    omit 306fb22021 chore(chart-data): add post processing error message to response (#23734)
    omit 44557f5a23 chore(api v1): Deprecate datasource/save and datasource/get endpoints (#23678)
    omit 818a1d482b feat: Drill by error management (#23724)
    omit d6b6d9eae6 feat: Makes "Add to dashboard" in Save chart modal paginated (#23634)
    omit 0c0d2b38a6 fix(sqllab): infinite running state on disconnect (#23669)

This update removed existing revisions from the reference, leaving the
reference pointing at a previous point in the repository history.

 * -- * -- N   refs/heads/hxgh-apiv1-sqllab-viz (cca9d8aed5)
            \
             O -- O -- O   (1ec7906d3f)

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                         |  14 +-
 UPDATING.md                                        |   1 -
 docs/docs/databases/ocient.mdx                     |  37 -
 docs/docs/frequently-asked-questions.mdx           |   4 +-
 .../docs/miscellaneous/native-filter-migration.mdx | 103 ---
 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/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                  |  51 --
 .../components/ExploreResultsButton/index.tsx      |   2 +-
 .../QueryAutoRefresh/QueryAutoRefresh.test.tsx     | 127 +--
 .../SqlLab/components/QueryAutoRefresh/index.tsx   |  46 +-
 .../src/SqlLab/components/SaveQuery/index.tsx      |   1 +
 .../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 ++
 .../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 +-
 .../features/rls/RowLevelSecurityModal.test.tsx    | 295 -------
 .../src/features/rls/RowLevelSecurityModal.tsx     | 479 -----------
 superset-frontend/src/features/rls/constants.ts    |  31 -
 superset-frontend/src/features/rls/types.ts        |  51 --
 .../RowLevelSecurityList.test.tsx                  | 259 ------
 .../src/pages/RowLevelSecurityList/index.tsx       | 350 --------
 .../src/utils/getDatasourceUid.test.ts             |   2 +-
 superset-frontend/src/views/routes.tsx             |  11 -
 .../src/visualizations/FilterBox/FilterBox.jsx     |   3 -
 .../FilterBox/FilterBoxChartPlugin.js              |   6 +-
 superset-websocket/package-lock.json               | 433 ++++++++--
 superset-websocket/package.json                    |   8 +-
 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                                 |  14 +-
 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                       |   2 +-
 superset/db_engine_specs/base.py                   |  44 +-
 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                  |  10 +-
 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 +-
 ...03-27_12-30_7e67aecbf3f1_chart_ds_constraint.py |  79 --
 superset/models/core.py                            |   5 +-
 superset/models/sql_lab.py                         |  26 +-
 superset/reports/schemas.py                        | 107 ++-
 superset/row_level_security/api.py                 | 349 --------
 superset/row_level_security/commands/__init__.py   |  16 -
 .../row_level_security/commands/bulk_delete.py     |  52 --
 superset/row_level_security/commands/create.py     |  57 --
 superset/row_level_security/commands/exceptions.py |  29 -
 superset/row_level_security/commands/update.py     |  63 --
 superset/row_level_security/dao.py                 |  23 -
 superset/row_level_security/schemas.py             | 154 ----
 superset/sqllab/schemas.py                         |  14 +-
 .../form_view/csv_to_database_view/edit.html       |   4 -
 .../rls/list.html}                                 |  21 +-
 superset/temporary_cache/schemas.py                |   4 +-
 .../utils/dashboard_filter_scopes_converter.py     | 256 +-----
 superset/views/base_api.py                         |  18 +-
 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             |  12 +-
 .../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     |  28 -
 tests/unit_tests/db_engine_specs/test_ocient.py    | 215 -----
 150 files changed, 1975 insertions(+), 7054 deletions(-)
 delete mode 100644 docs/docs/databases/ocient.mdx
 delete mode 100644 docs/docs/miscellaneous/native-filter-migration.mdx
 delete mode 100644 superset-frontend/src/SqlLab/components/ExploreCtasResultsButton/ExploreCtasResultsButton.test.tsx
 create mode 100644 superset-frontend/src/SqlLab/components/ExploreResultsButton/ExploreResultsButton.test.jsx
 delete mode 100644 superset-frontend/src/SqlLab/components/ExploreResultsButton/ExploreResultsButton.test.tsx
 delete mode 100644 superset-frontend/src/components/Chart/DrillBy/useResultsTableView.test.ts
 delete mode 100644 superset-frontend/src/components/Chart/DrillBy/useResultsTableView.tsx
 delete mode 100644 superset-frontend/src/explore/components/controls/DndColumnSelectControl/useResizeButton.tsx
 delete mode 100644 superset-frontend/src/features/rls/RowLevelSecurityModal.test.tsx
 delete mode 100644 superset-frontend/src/features/rls/RowLevelSecurityModal.tsx
 delete mode 100644 superset-frontend/src/features/rls/constants.ts
 delete mode 100644 superset-frontend/src/features/rls/types.ts
 delete mode 100644 superset-frontend/src/pages/RowLevelSecurityList/RowLevelSecurityList.test.tsx
 delete mode 100644 superset-frontend/src/pages/RowLevelSecurityList/index.tsx
 delete mode 100644 superset/cli/native_filters.py
 delete mode 100644 superset/db_engine_specs/ocient.py
 delete mode 100644 superset/migrations/versions/2023-03-27_12-30_7e67aecbf3f1_chart_ds_constraint.py
 delete mode 100644 superset/row_level_security/api.py
 delete mode 100644 superset/row_level_security/commands/__init__.py
 delete mode 100644 superset/row_level_security/commands/bulk_delete.py
 delete mode 100644 superset/row_level_security/commands/create.py
 delete mode 100644 superset/row_level_security/commands/exceptions.py
 delete mode 100644 superset/row_level_security/commands/update.py
 delete mode 100644 superset/row_level_security/dao.py
 delete mode 100644 superset/row_level_security/schemas.py
 copy superset/templates/superset/{fab_overrides/list_with_checkboxes.html => models/rls/list.html} (84%)
 delete mode 100644 tests/integration_tests/migrations/7e67aecbf3f1_chart_ds_constraint__tests.py
 delete mode 100644 tests/unit_tests/db_engine_specs/test_ocient.py