This is an automated email from the ASF dual-hosted git repository.
suddjian pushed a change to branch babel-upgrade
in repository https://gitbox.apache.org/repos/asf/superset.git.
from 7913153 upgrade babel eslint parser
add a341319 chore: upgrade to Node 16 (#16809)
add c520eb7 refactor: sqllab: move sqllab ralated enumns and utils to
more logical place (#16843)
add ef95458 Exit init script immediately on error (#16758)
add 42fa548 fix(native-filters): filter indicator stale state (#16831)
add 0a8d0c6 fix(native-filters): emitted filter label format (#16828)
add 100760c fix(gallery): Hide the bottom info section when no chart is
being selected (#16840)
add bbe7aa3 chore: db migrate timeseries_limit_metric to legacy_order_by
in pivottable2 (#16849)
add f703c12 chore: bump superset-ui to 0.18.8 (#16850)
add 0f16177 fix(native-filters): ignore unset filter box time range
(#16854)
add 8ad03c4 chore: Select component refactoring - FilterControl -
Iteration 5 (#15777)
add 913df18 chore: Select component refactoring - MetricControl -
Iteration 5 (#16423)
add e40ff3a chore: Select component refactoring - DndColumnSelectControl
- Iteration 5 (#16440)
add ab9f8cb chore: Select component refactoring - PropertiesModal -
Iteration 5 (#16445)
add 271ec6e chore: Select component refactoring - SaveModal - Iteration 5
(#16446)
add 667b88c chore: Select component refactoring - TimeSeriesColumnControl
- Iteration 5 (#16442)
add d3f6145 fix(dashboard): Fill form with the latest values when undo in
native filters (#16851)
add 6daf37b move repro steps to front (#16819)
add 27a40d2 chore: Upgrades Storybook to version 6.3.8 to make it
compatible with Webpack 5 (#16857)
add 9ac55d9 fix(build): enable hot reloading of linked packages (#16867)
add b35645c feat: added extraEnvRaw variable to load values from other
secrets (#16219)
add aa74721 feat: Add Private Google Sheets to dynamic form (#16628)
add 0ea83c5 feat: add Databricks ODBC engine spec (#16862)
add e3b14fe fix: Overhead when changing the filter name (#16877)
add 3d8cc15 fix: Clear native filters state (#16893)
add 3f784cc refactor: sql lab: handling command exceptions (#16852)
add 3272d1c fix(sqla): allow series limit without subquery support
(#16896)
add 4da4fe4 fix: Removing parent filter causes incorrect state of child
filter (#16876)
add 904c506 fixing db connection (#16899)
add 331de0c fix: Fix Uniqueness check before update for Sqllab Overwrites
(#16859)
add 77e7d16 ci: check npm lockfile version (#16916)
add 94282b7 fix: time comparison can't guarantee the accuracy (#16895)
add 05632b9 chore: Moves the stylesheets folder to the assets folder
(#16880)
add ae26967 fix: Disable lazy loading for the Database selector (#16908)
add 3d520f2 fix: Inclusive sign in time range display (#16906)
add 1a38ec6 chore: Adds the drag icon (#16919)
add c8db435 fix(Explore): Clear filter value when changing columns
(#16871)
add 7f330c9 Verify undefined operatorId (#16923)
add 360b93a Merge branch 'master' into babel-upgrade
No new revisions were added by this update.
Summary of changes:
.github/ISSUE_TEMPLATE/bug_report.md | 13 +-
.github/workflows/bashlib.sh | 2 -
.github/workflows/superset-e2e.yml | 22 +-
.github/workflows/superset-frontend.yml | 6 +
.github/workflows/superset-translations.yml | 4 +
CONTRIBUTING.md | 14 +-
Dockerfile | 2 +-
UPDATING.md | 2 +
docker-compose.yml | 2 +-
.../docs/Connecting to Databases/databricks.mdx | 68 +
helm/superset/Chart.yaml | 2 +-
helm/superset/templates/deployment-beat.yaml | 5 +-
helm/superset/templates/deployment-worker.yaml | 5 +-
helm/superset/templates/deployment.yaml | 7 +-
helm/superset/templates/init-job.yaml | 5 +-
helm/superset/values.yaml | 13 +-
.../ci_check_npm_lock_version.sh | 18 +-
superset-frontend/.eslintignore | 2 +-
superset-frontend/.storybook/main.js | 6 +-
superset-frontend/.storybook/preview.jsx | 19 +-
.../integration/dashboard/nativeFilters.test.ts | 4 +-
.../integration/explore/AdhocFilters.test.ts | 2 +-
.../integration/explore/AdhocMetrics.test.ts | 8 +-
.../cypress/integration/explore/link.test.ts | 16 +-
.../explore/visualizations/line.test.ts | 6 +-
superset-frontend/package-lock.json | 23376 ++++++++++---------
superset-frontend/package.json | 85 +-
.../dashboard/components/PropertiesModal_spec.jsx | 5 +-
.../components/AdhocMetricEditPopover_spec.jsx | 6 +-
.../explore/components/SaveModal_spec.jsx | 5 +-
.../spec/javascripts/sqllab/ResultSet_spec.jsx | 2 +
.../javascripts/sqllab/SqlEditorLeftBar_spec.jsx | 3 +-
superset-frontend/src/CRUD/crud.less | 2 +-
superset-frontend/src/SqlLab/App.jsx | 2 +-
.../src/SqlLab/components/ResultSet.tsx | 35 +-
superset-frontend/src/SqlLab/main.less | 2 +-
superset-frontend/src/api/dataset.ts | 63 -
superset-frontend/src/assets/images/icons/drag.svg | 22 +
.../{ => src/assets}/stylesheets/antd/index.less | 0
.../assets}/stylesheets/less/cosmo/bootswatch.less | 0
.../assets}/stylesheets/less/cosmo/cosmoTheme.js | 1 +
.../assets}/stylesheets/less/cosmo/variables.less | 0
.../{ => src/assets}/stylesheets/less/fonts.less | 0
.../{ => src/assets}/stylesheets/less/index.less | 0
.../assets}/stylesheets/less/variables.less | 0
.../assets}/stylesheets/reactable-pagination.less | 2 +-
.../{ => src/assets}/stylesheets/superset.less | 2 +-
.../AlteredSliceTag/AlteredSliceTag.test.jsx | 2 +-
.../DatabaseSelector/DatabaseSelector.test.tsx | 6 +-
.../src/components/DatabaseSelector/index.tsx | 1 +
.../FilterableTable/FilterableTableStyles.less | 2 +-
superset-frontend/src/components/Icons/index.tsx | 1 +
.../src/components/TableLoader/index.tsx | 2 +-
.../src/dashboard/components/Dashboard.jsx | 2 +
.../dashboard/components/FiltersBadge/selectors.ts | 15 +-
.../dashboard/components/Header/Header.test.tsx | 36 +-
.../FilterScope/FilterScope.test.tsx | 1 +
.../FiltersConfigForm/FiltersConfigForm.tsx | 246 +-
.../FiltersConfigModal/FiltersConfigModal.test.tsx | 3 +-
.../FiltersConfigModal/FiltersConfigModal.tsx | 57 +-
.../nativeFilters/FiltersConfigModal/types.ts | 2 +-
.../nativeFilters/FiltersConfigModal/utils.ts | 6 +-
.../src/dashboard/containers/Dashboard.ts | 2 +
.../dashboard/stylesheets/builder-sidepane.less | 2 +-
.../stylesheets/components/new-component.less | 2 +-
.../stylesheets/filter-scope-selector.less | 2 +-
.../src/dashboard/stylesheets/index.less | 2 +-
superset-frontend/src/dataMask/actions.ts | 12 +
superset-frontend/src/dataMask/reducer.ts | 3 +
superset-frontend/src/explore/App.jsx | 2 +-
.../PropertiesModal/PropertiesModal.test.tsx | 4 +-
.../explore/components/PropertiesModal/index.tsx | 102 +-
.../src/explore/components/SaveModal.tsx | 25 +-
.../DndColumnSelectControl/ColumnSelectPopover.tsx | 69 +-
.../DndFilterSelect.test.tsx | 17 +-
.../FilterControl/AdhocFilterEditPopover/index.jsx | 5 -
.../index.tsx | 242 +-
.../AdhocFilterEditPopoverSqlTabContent/index.jsx | 30 +-
.../MetricControl/AdhocMetricEditPopover/index.jsx | 90 +-
.../TimeSeriesColumnControl.test.tsx | 10 +-
.../controls/TimeSeriesColumnControl/index.jsx | 28 +-
.../controls/VizTypeControl/VizTypeGallery.tsx | 53 +-
superset-frontend/src/explore/main.less | 2 +-
.../components/Select/SelectFilterPlugin.tsx | 31 +-
.../filters/components/Time/TimeFilterPlugin.tsx | 1 +
superset-frontend/src/filters/utils.ts | 15 -
superset-frontend/src/profile/main.less | 2 +-
superset-frontend/src/setup/setupColors.ts | 2 +
superset-frontend/src/theme.ts | 4 +-
superset-frontend/src/utils/downloadAsImage.ts | 2 +-
.../DatabaseModal/DatabaseConnectionForm.tsx | 190 +-
.../data/database/DatabaseModal/index.test.jsx | 5 +
.../CRUD/data/database/DatabaseModal/index.tsx | 100 +-
.../CRUD/data/database/DatabaseModal/styles.ts | 12 +-
.../src/views/CRUD/data/database/types.ts | 9 +
superset-frontend/src/views/CRUD/hooks.ts | 2 +-
.../src/visualizations/FilterBox/FilterBox.less | 2 +-
superset-frontend/webpack.config.js | 3 +-
superset-websocket/Dockerfile | 2 +-
.../db_query_status.py} | 16 +-
superset/common/query_actions.py | 2 +-
superset/common/query_context.py | 62 +-
superset/common/utils.py | 3 +-
superset/connectors/sqla/models.py | 13 +-
superset/databases/api.py | 3 +
superset/databases/schemas.py | 12 +-
superset/datasets/commands/update.py | 4 +-
superset/datasets/dao.py | 15 +-
superset/db_engine_specs/base.py | 2 -
superset/db_engine_specs/bigquery.py | 12 +-
superset/db_engine_specs/databricks.py | 25 +-
superset/db_engine_specs/druid.py | 2 +-
superset/db_engine_specs/gsheets.py | 20 +-
superset/db_engine_specs/hive.py | 6 +-
superset/db_engine_specs/presto.py | 2 +-
superset/errors.py | 6 +
superset/exceptions.py | 23 +-
...53f4e2e_migrate_timeseries_limit_metric_to_.py} | 47 +-
superset/models/core.py | 9 +
superset/models/helpers.py | 2 +-
superset/models/sql_lab.py | 10 +-
superset/sql_lab.py | 11 +-
superset/sqllab/command.py | 134 +-
superset/sqllab/exceptions.py | 83 +
.../sqllab/limiting_factor.py | 11 +-
superset/sqllab/utils.py | 47 +
superset/utils/core.py | 4 +-
superset/utils/sqllab_execution_context.py | 11 +-
superset/views/core.py | 28 +-
superset/views/utils.py | 3 +-
superset/viz.py | 17 +-
tests/integration_tests/cache_tests.py | 2 +-
tests/integration_tests/celery_tests.py | 2 +-
tests/integration_tests/core_tests.py | 17 +-
tests/integration_tests/databases/api_tests.py | 9 +-
tests/integration_tests/model_tests.py | 3 +-
tests/integration_tests/queries/api_tests.py | 3 +-
tests/integration_tests/query_context_tests.py | 99 +
tests/integration_tests/sqllab_tests.py | 3 +-
tests/integration_tests/utils_tests.py | 44 +-
tests/unit_tests/core_tests.py | 4 -
tests/unit_tests/db_engine_specs/test_gsheets.py | 6 +-
142 files changed, 13756 insertions(+), 12415 deletions(-)
create mode 100644 docs/src/pages/docs/Connecting to Databases/databricks.mdx
copy docker/docker-frontend.sh => scripts/ci_check_npm_lock_version.sh (69%)
delete mode 100644 superset-frontend/src/api/dataset.ts
create mode 100644 superset-frontend/src/assets/images/icons/drag.svg
rename superset-frontend/{ => src/assets}/stylesheets/antd/index.less (100%)
rename superset-frontend/{ =>
src/assets}/stylesheets/less/cosmo/bootswatch.less (100%)
rename superset-frontend/{ => src/assets}/stylesheets/less/cosmo/cosmoTheme.js
(99%)
rename superset-frontend/{ =>
src/assets}/stylesheets/less/cosmo/variables.less (100%)
rename superset-frontend/{ => src/assets}/stylesheets/less/fonts.less (100%)
rename superset-frontend/{ => src/assets}/stylesheets/less/index.less (100%)
rename superset-frontend/{ => src/assets}/stylesheets/less/variables.less
(100%)
rename superset-frontend/{ =>
src/assets}/stylesheets/reactable-pagination.less (97%)
rename superset-frontend/{ => src/assets}/stylesheets/superset.less (99%)
copy superset/{sqllab/command_status.py => common/db_query_status.py} (71%)
copy superset/migrations/versions/{67a6ac9b727b_update_spatial_params.py =>
60dc453f4e2e_migrate_timeseries_limit_metric_to_.py} (60%)
create mode 100644 superset/sqllab/exceptions.py
copy docs/.asf.yaml => superset/sqllab/limiting_factor.py (79%)
create mode 100644 superset/sqllab/utils.py