You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2026/07/01 17:22:48 UTC
(superset) branch aminghadersohi/mcp-semantic-layer-tools updated (fa0e3b733ea -> d80343c20a4)
This is an automated email from the ASF dual-hosted git repository.
aminghadersohi pushed a change to branch aminghadersohi/mcp-semantic-layer-tools
in repository https://gitbox.apache.org/repos/asf/superset.git
omit fa0e3b733ea fix(mcp): address Codex review findings on semantic layer tools
omit 37bdb423716 feat(mcp): add semantic layer MCP tools (list_metrics, get_table, get_compatible_dimensions, get_compatible_metrics)
omit 5ef56b9d103 feat(mcp): add semantic layer MCP tools (list_metrics, get_table, get_compatible_dimensions, get_compatible_metrics)
add 3e88b487b32 fix(point-cluster-map): guard invalid point radii (#40393)
add 7cc7e9f6e34 fix(async-query): prevent JWT InvalidSubjectError for guest users (#37862)
add 16e1f41ceff chore(deps): bump swagger-ui-react from 5.32.7 to 5.32.8 in /docs (#41614)
add b9e3f0aa1e2 feat(soft-delete): gate soft delete behind a temporary SOFT_DELETE release toggle (#41166)
add 36510200147 fix(sql): cap parser input length via SQL_MAX_PARSE_LENGTH config (#40499)
add 2da2db6c7c0 feat(sql): schema-qualified table denylist + information_schema/lo_* defaults (#41120)
add 6d2b94ceb80 fix(currency): derive default symbol position from locale when unset (#40931)
add 438d4d569f8 test(sqllab): repair broken TablePreview and SavedQueryList jest tests (#41628)
add da4cae16574 chore(deps): bump fastmcp from >=3.2.4 to >=3.4.2 (#41592)
add 7f4cac63c90 fix(mcp): escape LIKE wildcards in find_users to prevent user enumeration (#41593)
add 8f2a01e2947 feat(mcp): add semantic layer MCP tools (list_metrics, get_table, get_compatible_dimensions, get_compatible_metrics)
add 89a52f99be0 feat(mcp): add semantic layer MCP tools (list_metrics, get_table, get_compatible_dimensions, get_compatible_metrics)
add 48a73b5d593 fix(mcp): address Codex review findings on semantic layer tools
add d80343c20a4 fix(mcp): address Codex review findings on semantic layer tools
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 (fa0e3b733ea)
\
N -- N -- N refs/heads/aminghadersohi/mcp-semantic-layer-tools (d80343c20a4)
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:
UPDATING.md | 27 +
docs/package.json | 2 +-
docs/static/feature-flags.json | 6 +
docs/yarn.lock | 8 +-
pyproject.toml | 2 +-
requirements/development.txt | 66 ++-
.../src/currency-format/CurrencyFormatter.ts | 38 +-
.../src/currency-format/currencyLocale.ts | 52 ++
.../superset-ui-core/src/currency-format/index.ts | 6 +
.../src/currency-format/symbolPosition.ts | 93 ++++
.../test/currency-format/CurrencyFormatter.test.ts | 52 +-
.../test/currency-format/currencyLocale.test.ts | 65 +++
.../test/currency-format/symbolPosition.test.ts | 74 +++
.../src/components/ScatterPlotOverlay.tsx | 8 +-
.../test/ScatterPlotOverlay.test.tsx | 52 +-
.../components/TablePreview/TablePreview.test.tsx | 6 +-
.../pages/SavedQueryList/SavedQueryList.test.tsx | 6 +-
.../src/pages/SavedQueryList/index.tsx | 1 +
.../src/setup/setupFormatters.test.ts | 71 +++
superset-frontend/src/setup/setupFormatters.ts | 5 +
superset/async_events/async_query_manager.py | 16 +-
superset/commands/sql_lab/estimate.py | 79 ++-
superset/config.py | 56 ++
superset/daos/base.py | 15 +-
superset/mcp_service/jwt_verifier.py | 5 +
.../tool/get_compatible_dimensions.py | 12 +-
.../semantic_layer/tool/get_compatible_metrics.py | 5 +-
.../mcp_service/semantic_layer/tool/get_table.py | 5 +-
.../semantic_layer/tool/list_metrics.py | 11 +-
superset/mcp_service/system/tool/find_users.py | 11 +-
superset/mcp_service/utils/__init__.py | 1 +
superset/mcp_service/utils/response_utils.py | 10 +-
superset/mcp_service/utils/sanitization.py | 10 +
superset/models/core.py | 40 ++
superset/models/helpers.py | 87 +++-
superset/sql/execution/executor.py | 62 ++-
superset/sql/parse.py | 275 +++++++++-
superset/sql_lab.py | 35 +-
.../async_events/async_query_manager_tests.py | 53 ++
tests/unit_tests/commands/sql_lab/test_estimate.py | 78 ++-
tests/unit_tests/daos/test_base_dao_soft_delete.py | 50 +-
.../semantic_layer}/__init__.py | 0
.../semantic_layer/tool}/__init__.py | 0
.../semantic_layer/tool/test_list_metrics.py | 183 +++++++
.../mcp_service/system/tool/test_find_users.py | 81 +++
.../mcp_service/utils/test_sanitization.py | 41 ++
tests/unit_tests/models/core_test.py | 39 ++
tests/unit_tests/models/helpers_test.py | 55 ++
tests/unit_tests/models/test_soft_delete_mixin.py | 38 ++
tests/unit_tests/sql/execution/test_executor.py | 86 +++-
tests/unit_tests/sql/parse_tests.py | 562 +++++++++++++++++++++
51 files changed, 2405 insertions(+), 236 deletions(-)
create mode 100644 superset-frontend/packages/superset-ui-core/src/currency-format/currencyLocale.ts
create mode 100644 superset-frontend/packages/superset-ui-core/src/currency-format/symbolPosition.ts
create mode 100644 superset-frontend/packages/superset-ui-core/test/currency-format/currencyLocale.test.ts
create mode 100644 superset-frontend/packages/superset-ui-core/test/currency-format/symbolPosition.test.ts
create mode 100644 superset-frontend/src/setup/setupFormatters.test.ts
copy tests/unit_tests/{distributed_lock => mcp_service/semantic_layer}/__init__.py (100%)
copy tests/unit_tests/{distributed_lock => mcp_service/semantic_layer/tool}/__init__.py (100%)
create mode 100644 tests/unit_tests/mcp_service/semantic_layer/tool/test_list_metrics.py