This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a change to branch explore_left_metadata_type
in repository https://gitbox.apache.org/repos/asf/superset.git
from 023ab9464a fix(explore): column data type tooltip format
add 899f02c08b fix(migration): replace unquote with double percentages
(#30532)
add bfffbe6374 chore(translations): Slovenian translation update (#30526)
add 357e284bd8 chore(fe): bump webpack-related packages to v5 (#30528)
add bbd6a1de8a refactor: Migration of Chart to TypeScript (#28370)
add f845988fca chore: enable lint PT009 'use regular assert over
self.assert.*' (#30521)
add 1cc42422ee fix: Unable to parse escaped tables (#30560)
add f094df4a47 fix: Horizon Chart are not working any more (#30563)
add 5557041317 fix: Incorrect type in config.py (#30564)
add fbe12332bc fix(dashboard-export): Fixes datasetId is not replaced
with datasetUuid in Dashboard export in 4.1.x (#30425)
add 533c49983f fix(Jinja): Extra cache keys to consider vars with set
(#30549)
add 0d449d4d08 fix(dev-server): Revert "chore(fe): bump webpack-related
packages to v5" (#30569)
add 7dda9bdc61 fix: update html rendering to true from false (#30565)
add c2a407e513 fix: adhoc metrics (#30202)
add af143698f0 fix(Jinja metric macro): Support Drill By and Excel/CSV
download without a dataset ID (#30443)
add 82230cf565 chore(fe): uplift FE packages to latest version (#30357)
add 7e02794a05 fix: `sqlparse` fallback for formatting queries (#30578)
add 4d1c9cf5be feat(formatting): Add memory units adaptive formatter to
format bytes (#30559)
add 7a6416bb3a fix(SQL Lab): hang when result set size is too big (#30522)
add a692fd1096 fix(filters): Adds a fix for saving time range
adhoc_filters (#30581)
add 574a8cc4af build(deps): bump cookie, @applitools/eyes-storybook and
express in /superset-frontend (#30572)
add 3c27086b08 chore(number-formatter): upgrade pretty-ms to 9.1.0 (#30599)
add 477ffe1a6d fix: Set correct amount of steps to avoid confusing logs
while loading examples (#30606)
add 390fa30036 feat: use dialect when tokenizing (#30614)
add 08ab23900a fix(Filters): Apply native & cross filters on common
columns (#30438)
add 5a5fd1b348 fix(docs): leading whitespace line is causing page title
and header to be malformed (#30616)
add a150fba295 fix(docs): address two linkinator failures (#30617)
add 78041cb2c3 fix: First item hovered on stacked bar (#30628)
add f4cda65a06 fix: Module is not defined in Partition chart (#30626)
add c7d2718e66 docs: Clarification on which command to use on which Ubuntu
version. (#30523)
add 2fb545f6b1 chore: Enable suppressing default chart context menu
(#30613)
add 8371243918 refactor(Dashboard): Native filters form update endpoint
(#30609)
add a59ae86f87 fix: Domain 'undefined' error in Storybook (#30661)
add d813252959 refactor: Split FastVizSwitcher into multiple files for
readability (#30662)
add 70dddc1cd2 docs: frontend long build time (#30655)
add 0f9c9358b1 chore: add link to Superset when report error (#30576)
add 669b0c68ce refactor: Migrate HeaderActionsDropdown to typescript
(#30568)
add 479306ed04 fix: Link Checking (#30659)
add 98bfbf418b fix(chart): Table and page entries misaligned (#30680)
add c206bc8ece build(deps): bump http-proxy-middleware from 2.0.6 to 2.0.7
in /docs (#30683)
add 75d8c4e5dd fix(dashboard): Include `urlParams` in the screenshot
generation (#30675)
add ba1fb613d1 fix: bump FAB to 4.5.2 (#30688)
add 2b41d272b4 fix: Nested transaction is inactive when embedding
dashboard (#30699)
add 5b9ad51795 fix(Dashboard): DatePicker to not autoclose modal (#30702)
add 14dfb55914 refactor: Migration publishedStatus to typescript (#30653)
add 1a13de4b44 refactor: Migrate UndoRedoKeyListeners to typescript
(#30654)
add 8fbb1639f8 feat(number-format): Add duration formatter with colon
notation (#30593)
add 6f0327053d feat(db_engine_specs): added support for Denodo Virtual
DataPort (#29927)
add 42afd2b58e fix(Jinja): Extra cache keys for Jinja columns (#30715)
add af8ba1a271 build(deps-dev): bump http-proxy-middleware from 2.0.6 to
2.0.7 in /superset-frontend (#30709)
add dc678e5bd9 feat(helm-chart): Add extraLabels to all resources (#30710)
add 230c5f56a9 fix tests
No new revisions were added by this update.
Summary of changes:
.github/workflows/superset-docs-verify.yml | 6 +
README.md | 3 +-
RELEASING/release-notes-4-1/README.md | 2 +-
RESOURCES/INTHEWILD.md | 11 +-
docker/docker-init.sh | 6 +-
docs/docs/configuration/databases.mdx | 11 +
docs/docs/configuration/networking-settings.mdx | 1 -
docs/docs/contributing/development.mdx | 44 +-
docs/docs/installation/pypi.mdx | 8 +-
docs/src/resources/data.js | 5 +
docs/static/img/databases/denodo.png | Bin 0 -> 17428 bytes
docs/static/resources/openapi.json | 102 +-
docs/yarn.lock | 6 +-
helm/superset/Chart.yaml | 2 +-
helm/superset/README.md | 3 +-
helm/superset/templates/configmap-superset.yaml | 3 +
helm/superset/templates/deployment-beat.yaml | 6 +
helm/superset/templates/deployment-flower.yaml | 6 +
helm/superset/templates/deployment-worker.yaml | 6 +
helm/superset/templates/deployment-ws.yaml | 6 +
helm/superset/templates/deployment.yaml | 6 +
helm/superset/templates/hpa-node.yaml | 3 +
helm/superset/templates/hpa-worker.yaml | 3 +
helm/superset/templates/ingress.yaml | 3 +
helm/superset/templates/init-job.yaml | 4 +
helm/superset/templates/pdb-beat.yaml | 3 +
helm/superset/templates/pdb-flower.yaml | 3 +
helm/superset/templates/pdb-worker.yaml | 3 +
helm/superset/templates/pdb-ws.yaml | 3 +
helm/superset/templates/pdb.yaml | 3 +
helm/superset/templates/secret-env.yaml | 3 +
.../superset/templates/secret-superset-config.yaml | 3 +
helm/superset/templates/secret-ws.yaml | 3 +
helm/superset/templates/service-flower.yaml | 3 +
helm/superset/templates/service-ws.yaml | 3 +
helm/superset/templates/service.yaml | 3 +
helm/superset/templates/serviceaccount.yaml | 3 +
helm/superset/values.yaml | 3 +
pyproject.toml | 2 +
requirements/base.txt | 4 +-
superset-frontend/jest.config.js | 2 +-
superset-frontend/package-lock.json | 2732 +++++++++++++-------
superset-frontend/package.json | 10 +-
.../superset-ui-chart-controls/package.json | 6 +-
.../superset-ui-chart-controls/src/types.ts | 1 +
.../src/utils/D3Formatting.ts | 3 +
.../test/components/labelUtils.test.tsx | 2 +-
.../packages/superset-ui-core/package.json | 40 +-
.../src/chart/models/ChartMetadata.ts | 7 +
.../factories/createDurationFormatter.ts | 7 +-
...NDigitFormatter.ts => createMemoryFormatter.ts} | 30 +-
.../superset-ui-core/src/number-format/index.ts | 1 +
.../superset-ui-core/src/query/types/Dashboard.ts | 36 +
.../superset-ui-core/src/query/types/Query.ts | 1 +
.../test/chart/clients/ChartClient.test.ts | 2 +-
.../test/connection/SupersetClient.test.ts | 8 +-
.../test/connection/SupersetClientClass.test.ts | 37 +-
.../test/connection/callApi/callApi.test.ts | 78 +-
.../callApi/callApiAndParseWithTimeout.test.ts | 13 +-
.../test/connection/callApi/parseResponse.test.ts | 14 +-
.../factories/createDurationFormatter.test.ts | 67 +-
.../factories/createMemoryFormatter.test.ts | 94 +
.../test/number-format/index.test.ts | 2 +
.../query/api/legacy/getDatasourceMetadata.test.ts | 4 +-
.../test/query/api/legacy/getFormData.test.ts | 4 +-
.../test/query/api/setupClientForTest.ts | 1 +
.../test/query/api/v1/getChartData.test.ts | 4 +-
.../test/query/api/v1/makeApi.test.ts | 4 +-
.../test/query/types/Dashboard.test.ts | 28 +
.../test/time-comparison/fetchTimeRange.test.ts | 20 +-
.../src/controlPanel.ts | 6 +
.../legacy-plugin-chart-partition/package.json | 2 +-
.../src/Timeseries/transformProps.ts | 2 +-
.../plugins/plugin-chart-table/package.json | 6 +-
.../spec/fixtures/mockDashboardInfo.js | 1 +
.../spec/fixtures/mockNativeFilters.ts | 1 +
superset-frontend/spec/helpers/testing-library.tsx | 2 +-
.../src/SqlLab/components/ResultSet/index.tsx | 2 +-
.../ShareSqlLabQuery/ShareSqlLabQuery.test.tsx | 2 +-
.../SqlLab/components/SouthPane/SouthPane.test.tsx | 2 +-
.../src/SqlLab/components/SqlEditor/index.tsx | 2 +-
.../AlteredSliceTag/AlteredSliceTag.test.jsx | 2 +-
.../src/components/Chart/{Chart.jsx => Chart.tsx} | 158 +-
.../src/components/Chart/ChartErrorMessage.tsx | 12 +-
.../src/components/Chart/ChartRenderer.jsx | 4 +
.../src/components/Chart/ChartRenderer.test.jsx | 32 +-
.../ErrorMessage/InvalidSQLErrorMessage.test.tsx | 2 +-
.../ErrorMessage/MarshmallowErrorMessage.test.tsx | 2 +-
superset-frontend/src/constants.ts | 2 +-
.../src/dashboard/actions/dashboardInfo.ts | 6 +
.../src/dashboard/actions/dashboardState.js | 17 +-
.../src/dashboard/actions/nativeFilters.ts | 115 +-
.../src/dashboard/components/Dashboard.jsx | 31 +-
.../src/dashboard/components/Dashboard.test.jsx | 29 +
.../HeaderActionsDropdown.test.tsx | 4 +
.../HeaderActionsDropdown/{index.jsx => index.tsx} | 116 +-
.../src/dashboard/components/Header/index.jsx | 4 +-
.../src/dashboard/components/Header/types.ts | 16 +-
.../OverwriteConfirmModal.test.tsx | 5 +
.../PublishedStatus/PublishedStatus.test.tsx | 12 +-
.../PublishedStatus/{index.jsx => index.tsx} | 29 +-
.../UndoRedoKeyListeners/{index.jsx => index.tsx} | 26 +-
.../DownloadMenuItems/DownloadMenuItems.test.tsx | 2 +-
.../DownloadMenuItems/DownloadScreenshot.test.tsx | 2 +-
.../menu/DownloadMenuItems/DownloadScreenshot.tsx | 4 +-
.../components/menu/DownloadMenuItems/index.tsx | 2 +-
.../FilterBar/FilterConfigurationLink/index.tsx | 8 +-
.../FilterBar/FilterControls/FilterValue.tsx | 1 -
.../FilterScope/FilterScope.test.tsx | 1 +
.../FiltersConfigForm/FiltersConfigForm.tsx | 61 +-
.../FiltersConfigForm/getControlItemsMap.test.tsx | 1 +
.../FiltersConfigForm/getControlItemsMap.tsx | 4 +
.../FiltersConfigModal/FiltersConfigModal.test.tsx | 200 +-
.../FiltersConfigModal/FiltersConfigModal.tsx | 147 +-
.../nativeFilters/FiltersConfigModal/types.ts | 11 +
.../nativeFilters/FiltersConfigModal/utils.ts | 115 +-
.../src/dashboard/fixtures/mockNativeFilters.ts | 1 +
.../src/dashboard/reducers/dashboardInfo.js | 11 +
.../src/dashboard/reducers/nativeFilters.ts | 27 +-
.../dashboard/util/activeAllDashboardFilters.ts | 4 +
.../src/dashboard/util/crossFilters.test.ts | 4 +-
.../src/dashboard/util/crossFilters.ts | 19 +-
.../src/dashboard/util/getRelatedCharts.test.ts | 254 ++
.../src/dashboard/util/getRelatedCharts.ts | 200 ++
.../util/useFilterFocusHighlightStyles.test.tsx | 22 +
.../util/useFilterFocusHighlightStyles.ts | 22 +-
superset-frontend/src/dataMask/actions.ts | 35 +-
superset-frontend/src/dataMask/reducer.ts | 41 +-
.../src/explore/actions/saveModalActions.test.ts | 60 +-
.../src/explore/actions/saveModalActions.ts | 29 +-
.../controls/DateFilterControl/DateFilterLabel.tsx | 6 +-
.../DateFilterControl/components/CustomFrame.tsx | 15 +
.../tests/CurrentCalendarFrame.test.tsx | 2 +-
.../DateFilterControl/tests/CustomFrame.test.tsx | 97 +
.../components/controls/DateFilterControl/types.ts | 1 +
.../ColumnSelectPopover.test.tsx | 2 +-
.../controls/VizTypeControl/FastVizSwitcher.tsx | 171 +-
.../{FastVizSwitcher.tsx => VizTile.tsx} | 128 +-
.../controls/VizTypeControl/constants.tsx} | 30 +-
.../components/controls/VizTypeControl/types.ts} | 24 +-
.../OAuth2ClientField.test.tsx | 2 +-
.../databases/DatabaseModal/index.test.tsx | 2 +
.../UploadDataModel/UploadDataModal.test.tsx | 6 +-
superset-frontend/src/setup/setupErrorMessages.ts | 4 +
superset-frontend/src/setup/setupFormatters.ts | 9 +-
superset-frontend/src/types/Chart.ts | 2 +
superset-frontend/src/utils/urlUtils.ts | 2 +-
superset/cachekeys/api.py | 5 +-
superset/commands/dashboard/exceptions.py | 4 +
superset/commands/dashboard/export.py | 34 +-
superset/commands/dashboard/update.py | 17 +-
superset/commands/report/execute.py | 4 +-
superset/config.py | 8 +
superset/connectors/sqla/models.py | 22 +-
superset/constants.py | 1 +
superset/daos/dashboard.py | 72 +
superset/dashboards/api.py | 107 +-
superset/dashboards/schemas.py | 7 +
superset/db_engine_specs/denodo.py | 158 ++
superset/errors.py | 3 +
superset/initialization/__init__.py | 5 +
superset/jinja_context.py | 59 +-
superset/migrations/env.py | 6 +-
superset/models/helpers.py | 21 +-
superset/models/sql_lab.py | 1 +
superset/reports/notifications/email.py | 15 +-
superset/sql/parse.py | 108 +-
superset/sql_lab.py | 36 +
superset/sql_parse.py | 103 +-
superset/translations/sl/LC_MESSAGES/messages.po | 1273 ++++-----
tests/integration_tests/async_events/api_tests.py | 6 +-
tests/integration_tests/base_api_tests.py | 35 +-
tests/integration_tests/cache_tests.py | 24 +-
tests/integration_tests/charts/api_tests.py | 400 ++-
tests/integration_tests/charts/commands_tests.py | 16 +-
tests/integration_tests/charts/data/api_tests.py | 69 +-
tests/integration_tests/charts/schema_tests.py | 4 +-
tests/integration_tests/core_tests.py | 168 +-
tests/integration_tests/dashboard_tests.py | 20 +-
tests/integration_tests/dashboards/api_tests.py | 647 +++--
tests/integration_tests/dashboards/base_case.py | 10 +-
.../integration_tests/dashboards/commands_tests.py | 45 +
tests/integration_tests/dashboards/dao_tests.py | 30 +-
.../dashboards/security/security_dataset_tests.py | 16 +-
.../dashboards/security/security_rbac_tests.py | 6 +-
tests/integration_tests/databases/api_tests.py | 381 ++-
.../integration_tests/databases/commands_tests.py | 6 +-
tests/integration_tests/datasets/api_tests.py | 75 +-
tests/integration_tests/datasets/commands_tests.py | 6 +-
tests/integration_tests/datasource/api_tests.py | 43 +-
tests/integration_tests/datasource_tests.py | 95 +-
.../db_engine_specs/ascend_tests.py | 10 +-
.../db_engine_specs/base_engine_spec_tests.py | 65 +-
.../db_engine_specs/base_tests.py | 2 +-
.../db_engine_specs/bigquery_tests.py | 12 +-
.../db_engine_specs/elasticsearch_tests.py | 2 +-
.../db_engine_specs/mysql_tests.py | 6 +-
.../db_engine_specs/pinot_tests.py | 30 +-
.../db_engine_specs/postgres_tests.py | 42 +-
.../db_engine_specs/presto_tests.py | 46 +-
.../integration_tests/dict_import_export_tests.py | 68 +-
tests/integration_tests/dynamic_plugins_tests.py | 4 +-
tests/integration_tests/email_tests.py | 4 +-
tests/integration_tests/embedded/dao_tests.py | 10 +-
tests/integration_tests/event_logger_tests.py | 108 +-
tests/integration_tests/form_tests.py | 12 +-
tests/integration_tests/import_export_tests.py | 198 +-
tests/integration_tests/log_api_tests.py | 137 +-
.../logging_configurator_tests.py | 2 +-
tests/integration_tests/model_tests.py | 67 +-
tests/integration_tests/queries/api_tests.py | 28 +-
.../queries/saved_queries/api_tests.py | 18 +-
tests/integration_tests/query_context_tests.py | 112 +-
tests/integration_tests/reports/api_tests.py | 6 +-
tests/integration_tests/reports/commands_tests.py | 6 +
tests/integration_tests/result_set_tests.py | 333 ++-
tests/integration_tests/security/api_tests.py | 6 +-
.../security/guest_token_security_tests.py | 30 +-
.../security/row_level_security_tests.py | 78 +-
tests/integration_tests/security_tests.py | 475 ++--
tests/integration_tests/sql_lab/api_tests.py | 50 +-
tests/integration_tests/sql_validator_tests.py | 4 +-
tests/integration_tests/sqla_models_tests.py | 280 +-
tests/integration_tests/sqllab_tests.py | 80 +-
tests/integration_tests/strategy_tests.py | 12 +-
tests/integration_tests/tagging_tests.py | 68 +-
tests/integration_tests/tags/api_tests.py | 66 +-
tests/integration_tests/thumbnails_tests.py | 36 +-
tests/integration_tests/users/api_tests.py | 18 +-
tests/integration_tests/utils/encrypt_tests.py | 12 +-
.../integration_tests/utils/machine_auth_tests.py | 2 +-
tests/integration_tests/utils_tests.py | 238 +-
tests/integration_tests/viz_tests.py | 240 +-
tests/unit_tests/db_engine_specs/test_base.py | 16 +-
.../{test_couchbase.py => test_denodo.py} | 107 +-
tests/unit_tests/jinja_context_test.py | 393 ++-
tests/unit_tests/sql/parse_tests.py | 47 +
tests/unit_tests/sql_lab_test.py | 115 +-
tests/unit_tests/sql_parse_tests.py | 52 +-
239 files changed, 8513 insertions(+), 5413 deletions(-)
create mode 100644 docs/static/img/databases/denodo.png
copy
superset-frontend/packages/superset-ui-core/src/number-format/factories/{createSiAtMostNDigitFormatter.ts
=> createMemoryFormatter.ts} (56%)
create mode 100644
superset-frontend/packages/superset-ui-core/test/number-format/factories/createMemoryFormatter.test.ts
rename superset-frontend/src/components/Chart/{Chart.jsx => Chart.tsx} (75%)
rename
superset-frontend/src/dashboard/components/Header/HeaderActionsDropdown/{index.jsx
=> index.tsx} (77%)
rename superset-frontend/src/dashboard/components/PublishedStatus/{index.jsx
=> index.tsx} (80%)
rename
superset-frontend/src/dashboard/components/UndoRedoKeyListeners/{index.jsx =>
index.tsx} (75%)
create mode 100644
superset-frontend/src/dashboard/util/getRelatedCharts.test.ts
create mode 100644 superset-frontend/src/dashboard/util/getRelatedCharts.ts
copy
superset-frontend/src/explore/components/controls/VizTypeControl/{FastVizSwitcher.tsx
=> VizTile.tsx} (58%)
copy superset-frontend/src/{dashboard/components/DeleteComponentButton.tsx =>
explore/components/controls/VizTypeControl/constants.tsx} (63%)
copy superset-frontend/src/{types/TagType.ts =>
explore/components/controls/VizTypeControl/types.ts} (70%)
create mode 100644 superset/db_engine_specs/denodo.py
copy tests/unit_tests/db_engine_specs/{test_couchbase.py => test_denodo.py}
(50%)