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

aminghadersohi pushed a commit to branch feat-mcp-timecolumn-native-filter
in repository https://gitbox.apache.org/repos/asf/superset.git

commit d6babd54075dd7c5c50bc9a03e5f5e051d83e9a3
Merge: 7311dd3b5c6 7da9466e846
Author: Amin Ghadersohi <[email protected]>
AuthorDate: Sat Nov 14 00:38:55 2026 +0000

    Merge origin/master into feat-mcp-timecolumn-native-filter

 .github/CODEOWNERS                                 |   8 +-
 docs/admin_docs/configuration/mcp-server.mdx       |   5 +-
 .../docs/using-superset/using-ai-with-superset.mdx |  16 +
 docs/static/resources/openapi.json                 |  82 +++
 pyproject.toml                                     |   6 +-
 requirements/base.txt                              |  16 +-
 requirements/development.txt                       |  16 +-
 .../superset-ui-core/src/query/types/Query.ts      |   5 +
 .../scripts/Country Map GeoJSON Generator.ipynb    |   4 +-
 .../src/components/Chart/chartAction.ts            |  29 +-
 .../src/components/Chart/chartReducer.ts           |   1 +
 .../src/components/Chart/chartReducers.test.ts     |  12 +
 .../components/ExploreViewContainer/index.tsx      |  21 +-
 .../src/explore/exploreUtils/exploreUtils.test.tsx |  17 +
 .../src/explore/exploreUtils/index.ts              |   7 +
 superset-frontend/src/explore/types.ts             |   2 +
 superset/charts/api.py                             |   9 +-
 superset/charts/data/api.py                        |  80 ++-
 superset/charts/schemas.py                         |  26 +
 superset/commands/dataset/update.py                |  46 ++
 superset/common/query_context.py                   |   7 +
 superset/common/query_context_factory.py           |   2 +
 superset/common/query_context_processor.py         |  82 ++-
 superset/config.py                                 |  15 +
 superset/mcp_service/app.py                        |   7 +
 superset/mcp_service/dashboard_scope.py            |   3 +
 superset/mcp_service/dataset/schemas.py            | 272 ++++++++-
 superset/mcp_service/dataset/tool/__init__.py      |   6 +
 .../dataset/tool/create_dataset_column.py          | 188 ++++++
 .../dataset/tool/delete_dataset_column.py          | 265 +++++++++
 .../dataset/tool/delete_dataset_metric.py          |  14 +-
 .../dataset/tool/update_dataset_column.py          | 296 ++++++++++
 superset/mcp_service/mcp_config.py                 |   3 +
 superset/mcp_service/utils/response_size_utils.py  |   3 +
 superset/tasks/query_cancel.py                     | 344 ++++++++++-
 superset/utils/cache_manager.py                    |  11 +
 tests/unit_tests/charts/test_chart_data_api.py     |  61 ++
 .../common/test_query_context_processor.py         | 217 +++++++
 .../dataset/tool/test_dataset_column_mutations.py  | 654 +++++++++++++++++++++
 .../mcp_service/native_tool_inventory.json         |  88 ++-
 .../mcp_service/test_mcp_tool_registration.py      |   9 +
 .../mcp_service/test_rbac_tool_enforcement.py      |  18 +
 .../test_sanitization_warning_inputs.py            |  31 +
 .../unit_tests/mcp_service/test_tool_inventory.py  |   3 +
 tests/unit_tests/tasks/test_query_cancel.py        | 617 +++++++++++++++++++
 45 files changed, 3556 insertions(+), 68 deletions(-)

diff --cc tests/unit_tests/mcp_service/native_tool_inventory.json
index 7dcca80649a,3c8019a49bc..b5c4f3b0af6
--- a/tests/unit_tests/mcp_service/native_tool_inventory.json
+++ b/tests/unit_tests/mcp_service/native_tool_inventory.json
@@@ -234,11 -266,11 +266,11 @@@
        "compact_description_chars": 250,
        "description_chars": 3577,
        "entry_bytes": {
--        "structured": 26411,
++        "structured": 26369,
          "text_only": 6037
        },
        "input_schema_bytes": 2037,
--      "output_schema_bytes": 20358
++      "output_schema_bytes": 20316
      },
      "generate_dashboard": {
        "annotations": {
@@@ -346,11 -378,11 +378,11 @@@
        "compact_description_chars": 240,
        "description_chars": 553,
        "entry_bytes": {
--        "structured": 9342,
++        "structured": 9300,
          "text_only": 3595
        },
        "input_schema_bytes": 2793,
--      "output_schema_bytes": 5731
++      "output_schema_bytes": 5689
      },
      "get_chart_sql": {
        "annotations": {
@@@ -1210,11 -1242,11 +1242,11 @@@
        "compact_description_chars": 45,
        "description_chars": 2416,
        "entry_bytes": {
--        "structured": 27225,
++        "structured": 27183,
          "text_only": 6851
        },
        "input_schema_bytes": 4075,
--      "output_schema_bytes": 20358
++      "output_schema_bytes": 20316
      },
      "update_chart_preview": {
        "annotations": {
@@@ -1283,16 -1331,16 +1331,16 @@@
    },
    "totals": {
      "catalog_bytes": {
-       "structured": 542187,
-       "text_only": 222373
 -      "structured": 555469,
 -      "text_only": 228596
++      "structured": 557238,
++      "text_only": 230290
      },
      "compact_catalog_bytes": {
-       "structured": 486014,
-       "text_only": 166200
 -      "structured": 497902,
 -      "text_only": 171029
++      "structured": 499115,
++      "text_only": 172167
      },
      "largest_entry": {
        "structured": {
--        "bytes": 27225,
++        "bytes": 27183,
          "name": "update_chart"
        },
        "text_only": {
diff --cc tests/unit_tests/mcp_service/test_tool_inventory.py
index b226ffd8190,b84b9e0bcbd..21396fbc654
--- a/tests/unit_tests/mcp_service/test_tool_inventory.py
+++ b/tests/unit_tests/mcp_service/test_tool_inventory.py
@@@ -54,8 -54,9 +54,9 @@@ def budgeted_bytes(text: str) -> int
  
  TOOL_BUDGETS = {
      "add_chart_to_existing_dashboard": 1_500,
 -    "apply_dashboard_filters": 3_700,
 +    "apply_dashboard_filters": 4_100,
      "create_dataset": 1_800,
+     "create_dataset_column": 2_400,
      "create_dataset_metric": 2_800,
      "create_theme": 1_200,
      "create_virtual_dataset": 3_700,

Reply via email to