aminghadersohi commented on code in PR #42822:
URL: https://github.com/apache/superset/pull/42822#discussion_r3785376451
##########
superset/mcp_service/dataset/tool/query_dataset.py:
##########
@@ -310,6 +310,10 @@ async def query_dataset( # noqa: C901
custom_cache_timeout=request.cache_timeout,
)
+ from superset.charts.data.form_data import
set_query_context_form_data
+
+ set_query_context_form_data(query_context, dataset.id, "table")
Review Comment:
Good point. I kept this PR scoped to the two MCP data-execution paths that
motivated the fix; broadening it to every compile/preview/semantic-layer caller
requires separate behavior and regression coverage. I created #43174 to track
that promised follow-up: https://github.com/apache/superset/issues/43174. The
blocking serializer issues and tests are addressed on this head.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]