You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2026/10/17 15:32:42 UTC

(superset) branch fix/pivot-grand-total-mixed-metrics updated (c1a8846d4c0 -> f264af26d33)

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

rusackas pushed a change to branch fix/pivot-grand-total-mixed-metrics
in repository https://gitbox.apache.org/repos/asf/superset.git


    omit c1a8846d4c0 fix(pivot-table): keep explicit percent display over orphaned aggregateFunction; let Accept work without Tag write
    omit 579e04da199 test(pivot-table): pin Metric-on-rows % of Rows Total cells; drop stale pot entries
    omit e8358ae5ba9 test(pivot-table): pin sample statistics summaries and additive result aggregation; skip grouping sets for MCP result aggregation
    omit 5b031fadccc chore: sync messages.pot after rebase
    omit 65e4d6659db test(explore): pin the stale-fetch guard in LegacyAggregationAlert
    omit 4243a87478d test(pivot-table): pin per-reducer row/column summary values for series-only aggregations
    omit 9cbaa66ca2c test(explore): cover legacy aggregation notice in ExploreChartPanel; note export gap in UPDATING
    omit e3b27b1b008 fix(pivot-table): correct the legacy-aggregation notice wording and re-point the stale #44625 reference
    omit bc9b6ab8315 test(pivot-table): pin all-null variance and intermediate column subtotals
    omit 95248532ca2 fix(pivot-table): address review feedback on null scopes, MCP default and test coverage
    omit b810f372e34 test(pivot-table): pin migration query_context; refresh pushAllTotal docblock
    omit 743ac22a998 chore: re-parent pivot aggregation migration onto current head and sync messages.pot
    omit 858d621421b fix(pivot-table): reconcile grand-total slot with formatter-aware totals; re-parent migration
    omit ed751f2b1c4 fix(pivot-table): stop the grand-total corner from silently picking one metric
     add 3d82e3dfbcb chore(deps): bump cachetools from 7.2.0 to 7.2.1 (#45323)
     add 5c5061b1c8e chore(deps-dev): bump clickhouse-connect from 1.9.0 to 1.10.0 (#45321)
     add a23199762c5 fix(mypy): make UUIDMixin.uuid's nullable type resolve deterministically (#44817)
     add e734cd00d43 chore(deps): bump react-syntax-highlighter from 16.1.1 to 16.1.2 in /superset-frontend (#45370)
     add f2b71475ce2 chore(deps): bump @googleapis/sheets from 18.1.0 to 18.1.1 in /superset-frontend (#45369)
     add 3dfb42a2937 chore(deps): bump astral-sh/setup-uv from 10.2.0 to 10.3.0 (#45368)
     add 576cc9e0952 chore(deps): bump helm/chart-testing-action from 2.8.0 to 2.9.0 (#45367)
     add 50d34f8aaa2 chore(deps-dev): bump syntaqlite from 0.9.0 to 0.12.1 (#45320)
     add ad63b3eb7ab fix(impala): stop SQL Lab queries through the live cursor only (#45232)
     add 86e186b5f60 fix(tests): stop the unit suite from retaining one Superset app per module (#45364)
     add 19bb09461dc fix(examples): rewrite chart datasource references on import (#45378)
     add 9c7ca9ba107 fix(docs): improve Kapa AI widget dark mode compatibility (#39102)
     add 61d27b4aebe fix(sql): handle trailing comments after empty statements (#45274)
     add 58b1de82815 fix(datasets): don't call physical datasets "virtual" in sync columns toast (#45376)
     add 853f207c668 fix(dashboard): apply temporal x-axis cross-filters to target charts (#45310)
     add c650cbd3c61 fix(import): return 422 instead of 500 for corrupt ZIP uploads (#45380)
     add a9a7a35c4b4 fix(dashboard): show an access error for charts the viewer cannot read (#45398)
     add 44eac5b37b2 fix(soft-delete): align dashboard card dialogs and archive permission hints (#45302)
     add 21fad62645a fix(semantic-layer): resolve grain variants deterministically (#44454)
     add a13af92ff34 fix(semantic-layer): return 400 for mapper validation refusals (#45292)
     add a5d29a9d27d test(e2e): add a stub semantic-layer provider for Playwright (#45103)
     add 84be38cfc90 chore(deps): update pygithub requirement from >=2.1.1 to >=2.10.0 (#45413)
     add 31ee5719f77 fix(semantic layers): reject unknown compatibility selections (#45359)
     add e336cd04c3c fix(mcp): keep refusal and rejection categories in get_chart_data (#45360)
     add 5e1962e9a1d test(mcp): correct Dublin fold timestamp expectations (#45358)
     add bbe16f303f8 fix(pivot-table): stop the grand-total corner from silently picking one metric
     add 5c717e98d9b fix(pivot-table): reconcile grand-total slot with formatter-aware totals; re-parent migration
     add 083a32713b3 chore: re-parent pivot aggregation migration onto current head and sync messages.pot
     add 26ed49940df test(pivot-table): pin migration query_context; refresh pushAllTotal docblock
     add 1cbcb1b9cf8 fix(pivot-table): address review feedback on null scopes, MCP default and test coverage
     add e26ef16e1a3 test(pivot-table): pin all-null variance and intermediate column subtotals
     add e56d83e82df fix(pivot-table): correct the legacy-aggregation notice wording and re-point the stale #44625 reference
     add c92b7676f4c test(explore): cover legacy aggregation notice in ExploreChartPanel; note export gap in UPDATING
     add b793fea9db4 test(pivot-table): pin per-reducer row/column summary values for series-only aggregations
     add 78e5323efe0 test(explore): pin the stale-fetch guard in LegacyAggregationAlert
     add 2b8f3aa4abf chore: sync messages.pot after rebase
     add de9b7c636be test(pivot-table): pin sample statistics summaries and additive result aggregation; skip grouping sets for MCP result aggregation
     add e61bc0dad6b test(pivot-table): pin Metric-on-rows % of Rows Total cells; drop stale pot entries
     add f264af26d33 fix(pivot-table): keep explicit percent display over orphaned aggregateFunction; let Accept work without Tag write

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   (c1a8846d4c0)
            \
             N -- N -- N   refs/heads/fix/pivot-grand-total-mixed-metrics (f264af26d33)

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/bashlib.sh                       |  13 +
 .github/workflows/bump-python-package.yml          |   2 +-
 .github/workflows/pre-commit.yml                   |  14 +
 .github/workflows/superset-e2e.yml                 |  14 +
 .github/workflows/superset-helm-lint-test.yml      |   2 +-
 .gitignore                                         |   2 +
 .pre-commit-config.yaml                            |  39 +-
 RELEASING/requirements.txt                         |   2 +-
 UPDATING.md                                        |  38 ++
 docs/admin_docs/configuration/mcp-server.mdx       |   5 +-
 docs/developer_docs/semantic-query-errors.md       |  14 +
 .../creating-your-first-dashboard.mdx              |  22 +
 docs/docusaurus.config.ts                          |  53 +-
 docs/static/resources/openapi.json                 |   4 +
 pyproject.toml                                     |   8 +-
 requirements/base.txt                              |   2 +-
 requirements/development.txt                       |   6 +-
 .../src/superset_core/semantic_layers/types.py     |  22 +-
 .../src/superset_core/semantic_layers/view.py      |   9 +-
 superset-frontend/jest.config.js                   |   3 +-
 superset-frontend/package-lock.json                |  16 +-
 superset-frontend/package.json                     |   2 +-
 .../packages/superset-ui-core/package.json         |   2 +-
 .../playwright/helpers/api/semanticLayer.test.ts   |  65 ++
 .../playwright/helpers/api/semanticLayer.ts        | 136 ++++
 .../playwright/helpers/fixtures/testAssets.ts      |  25 +-
 .../tests/dashboard/dashboard-test-helpers.ts      |  20 +-
 .../semantic-view/semantic-view-dashboard.spec.ts  | 204 ++++++
 .../src/Timeseries/EchartsTimeseries.tsx           |   4 +
 .../test/Timeseries/EchartsTimeseries.test.tsx     |   6 +
 .../src/components/Chart/Chart.test.tsx            |  38 ++
 superset-frontend/src/components/Chart/Chart.tsx   |   8 +
 .../src/components/Chart/chartAction.ts            |  34 +
 .../src/components/Chart/chartActions.test.ts      |  62 ++
 .../src/components/Datasource/utils/index.ts       |  12 +-
 .../src/components/Datasource/utils/utils.test.tsx |  28 +-
 .../src/dashboard/actions/hydrate.test.ts          |  43 ++
 superset-frontend/src/dashboard/actions/hydrate.ts |  32 +-
 .../util/charts/getFormDataWithExtraFilters.ts     |   7 +-
 .../util/getFormDataWithExtraFilters.test.ts       |  49 ++
 superset-frontend/src/explore/types.ts             |   2 +
 .../src/features/charts/ChartCard.test.tsx         |  32 +
 .../src/features/charts/ChartCard.tsx              |  10 +-
 .../src/features/dashboards/DashboardCard.test.tsx |  47 +-
 .../src/features/dashboards/DashboardCard.tsx      |  14 +-
 .../src/features/home/DashboardTable.test.tsx      |  58 +-
 .../src/features/home/DashboardTable.tsx           |  31 +-
 .../pages/ChartList/ChartList.permissions.test.tsx |  27 +-
 superset-frontend/src/pages/ChartList/index.tsx    |  10 +-
 .../DashboardList/DashboardList.cardview.test.tsx  |  77 ++-
 .../DashboardList.permissions.test.tsx             |  34 +-
 .../src/pages/DashboardList/index.tsx              |  31 +-
 .../DatasetList/DatasetList.permissions.test.tsx   |  30 +
 superset-frontend/src/pages/DatasetList/index.tsx  |  10 +-
 superset/charts/api.py                             |   7 +-
 superset/commands/chart/data/get_data_command.py   |  37 +-
 superset/commands/chart/exceptions.py              |   4 +
 superset/commands/importers/v1/examples.py         |   8 +-
 superset/commands/importers/v1/utils.py            |  49 +-
 superset/common/db_query_status.py                 |   6 +
 superset/common/query_context_processor.py         |   4 +-
 superset/common/query_object_factory.py            |  31 +-
 superset/common/utils/time_range_utils.py          |  32 +-
 superset/dashboards/api.py                         |   8 +-
 superset/dashboards/schemas.py                     |   3 +
 superset/databases/api.py                          |   7 +-
 superset/datasets/api.py                           |   7 +-
 superset/datasource/api.py                         |  64 +-
 superset/db_engine_specs/impala.py                 |  47 +-
 superset/db_engine_specs/trino.py                  |  33 +-
 superset/exceptions.py                             |  27 +
 superset/importexport/api.py                       |   7 +-
 superset/initialization/__init__.py                |  27 +-
 superset/mcp_service/chart/tool/get_chart_data.py  |  53 +-
 superset/models/dashboard.py                       |  13 +
 superset/models/helpers.py                         |  17 +-
 superset/queries/saved_queries/api.py              |   7 +-
 superset/semantic_layers/dimension_resolution.py   | 117 ++++
 superset/semantic_layers/mapper.py                 | 226 ++++---
 superset/semantic_layers/models.py                 | 101 ++-
 superset/sql/execution/executor.py                 |   5 +
 superset/sql/parse.py                              |  38 +-
 superset/sql_lab.py                                |  10 +-
 superset/tasks/async_queries.py                    |  19 +-
 superset/themes/api.py                             |   7 +-
 superset/translations/ar/LC_MESSAGES/messages.po   | 323 ++++++++-
 superset/translations/ca/LC_MESSAGES/messages.po   | 301 ++++++++-
 superset/translations/cs/LC_MESSAGES/messages.po   | 308 ++++++++-
 superset/translations/de/LC_MESSAGES/messages.po   | 301 ++++++++-
 superset/translations/en/LC_MESSAGES/messages.po   | 283 +++++++-
 superset/translations/es/LC_MESSAGES/messages.po   | 301 ++++++++-
 superset/translations/fa/LC_MESSAGES/messages.po   | 295 +++++++-
 superset/translations/fi/LC_MESSAGES/messages.po   | 317 ++++++++-
 superset/translations/fr/LC_MESSAGES/messages.po   | 303 ++++++++-
 superset/translations/it/LC_MESSAGES/messages.po   | 323 ++++++++-
 superset/translations/ja/LC_MESSAGES/messages.po   | 294 +++++++-
 superset/translations/ko/LC_MESSAGES/messages.po   | 311 ++++++++-
 superset/translations/lv/LC_MESSAGES/messages.po   | 308 ++++++++-
 superset/translations/messages.pot                 |  39 +-
 superset/translations/mi/LC_MESSAGES/messages.po   | 301 ++++++++-
 superset/translations/nl/LC_MESSAGES/messages.po   | 295 +++++++-
 superset/translations/pl/LC_MESSAGES/messages.po   | 298 ++++++++-
 superset/translations/pt/LC_MESSAGES/messages.po   | 323 ++++++++-
 .../translations/pt_BR/LC_MESSAGES/messages.po     | 295 +++++++-
 superset/translations/ro/LC_MESSAGES/messages.po   | 311 ++++++++-
 superset/translations/ru/LC_MESSAGES/messages.po   | 309 ++++++++-
 superset/translations/sk/LC_MESSAGES/messages.po   | 308 ++++++++-
 superset/translations/sl/LC_MESSAGES/messages.po   | 315 ++++++++-
 superset/translations/sr/LC_MESSAGES/messages.po   | 330 ++++++++-
 .../translations/sr_Latn/LC_MESSAGES/messages.po   | 330 ++++++++-
 superset/translations/ta/LC_MESSAGES/messages.po   | 301 ++++++++-
 superset/translations/th/LC_MESSAGES/messages.po   | 310 ++++++++-
 superset/translations/tr/LC_MESSAGES/messages.po   | 297 +++++++-
 superset/translations/uk/LC_MESSAGES/messages.po   | 315 ++++++++-
 superset/translations/zh/LC_MESSAGES/messages.po   | 288 +++++++-
 .../translations/zh_TW/LC_MESSAGES/messages.po     | 288 +++++++-
 .../src/superset_e2e_semantic_stub/__init__.py     | 266 ++++++++
 .../semantic_stub/dist/manifest.json               |  10 +
 tests/integration_tests/datasource/api_tests.py    | 237 ++++++-
 ...ist_off.py => superset_test_config_semantic.py} |  24 +-
 .../common => tests/mypy_fixtures}/__init__.py     |   8 +-
 tests/mypy_fixtures/uuid_mixin_nullable.py         |  44 ++
 .../charts/commands/data/test_get_data_command.py  |  63 +-
 .../commands/importers/v1/examples_test.py         |  51 ++
 .../unit_tests/commands/importers/v1/utils_test.py | 143 ++++
 .../common/test_query_context_processor.py         |  35 +
 tests/unit_tests/common/test_time_range_utils.py   |  27 +
 tests/unit_tests/conftest.py                       |  53 +-
 tests/unit_tests/dao/query_stop_isolation_test.py  | 126 ++++
 tests/unit_tests/daos/test_query_dao.py            |  21 +-
 tests/unit_tests/dashboards/datasets_test.py       |  65 ++
 tests/unit_tests/databases/api_test.py             |  47 +-
 tests/unit_tests/datasource/test_compatible_api.py |  85 +++
 .../db_engine_specs/test_impala_pending.py         | 129 +++-
 tests/unit_tests/db_engine_specs/test_trino.py     |  52 ++
 tests/unit_tests/exceptions_test.py                |  46 ++
 tests/unit_tests/importexport/api_test.py          |  42 ++
 .../mcp_service/chart/test_bullet_chart.py         |  18 +-
 .../mcp_service/chart/test_bullet_tool_paths.py    |  21 +-
 .../mcp_service/chart/tool/test_get_chart_data.py  | 322 ++++++++-
 .../mcp_service/dataset/tool/test_query_dataset.py |  44 +-
 .../semantic_layer/tool/test_get_table.py          |  27 +-
 .../semantic_layer/tool/test_list_metrics.py       |   8 +-
 .../mcp_service/test_validation_contract.py        |   2 +-
 .../semantic_layers/dimension_resolution_test.py   | 161 +++++
 .../semantic_layers/e2e_stub_extension_test.py     | 252 +++++++
 tests/unit_tests/semantic_layers/mapper_test.py    | 745 ++++++++++++++++++++-
 tests/unit_tests/semantic_layers/models_test.py    |  74 ++
 .../semantic_layers/query_errors_test.py           | 157 +++++
 .../semantic_layers/simple_cache_clear_test.py     |  10 +-
 .../semantic_layers/values_endpoint_test.py        |  28 +
 tests/unit_tests/sql/execution/test_celery_task.py |   7 +-
 tests/unit_tests/sql/execution/test_executor.py    |  39 ++
 tests/unit_tests/sql/parse_tests.py                |  95 +++
 tests/unit_tests/tasks/test_async_queries.py       |  44 ++
 tests/unit_tests/test_app_reinitialization.py      | 114 ++++
 tests/unit_tests/themes/api_test.py                |  33 +
 157 files changed, 14335 insertions(+), 1162 deletions(-)
 create mode 100644 superset-frontend/playwright/helpers/api/semanticLayer.test.ts
 create mode 100644 superset-frontend/playwright/helpers/api/semanticLayer.ts
 create mode 100644 superset-frontend/playwright/tests/semantic-view/semantic-view-dashboard.spec.ts
 create mode 100644 superset/semantic_layers/dimension_resolution.py
 create mode 100644 tests/e2e_extensions/semantic_stub/dist/backend/src/superset_e2e_semantic_stub/__init__.py
 create mode 100644 tests/e2e_extensions/semantic_stub/dist/manifest.json
 copy tests/integration_tests/{superset_test_config_sqllab_backend_persist_off.py => superset_test_config_semantic.py} (52%)
 copy {superset-core/src/superset_core/common => tests/mypy_fixtures}/__init__.py (75%)
 create mode 100644 tests/mypy_fixtures/uuid_mixin_nullable.py
 create mode 100644 tests/unit_tests/dao/query_stop_isolation_test.py
 create mode 100644 tests/unit_tests/datasource/test_compatible_api.py
 create mode 100644 tests/unit_tests/exceptions_test.py
 create mode 100644 tests/unit_tests/semantic_layers/dimension_resolution_test.py
 create mode 100644 tests/unit_tests/semantic_layers/e2e_stub_extension_test.py
 create mode 100644 tests/unit_tests/test_app_reinitialization.py