aminghadersohi commented on code in PR #38388:
URL: https://github.com/apache/superset/pull/38388#discussion_r2882623254


##########
superset/mcp_service/sql_lab/schemas.py:
##########
@@ -113,6 +130,14 @@ class ExecuteSqlResponse(BaseModel):
     statements: list[StatementInfo] | None = Field(
         None, description="Per-statement execution info (for multi-statement 
queries)"
     )
+    multi_statement_warning: str | None = Field(
+        None,
+        description=(
+            "Warning when multiple data-bearing statements were executed. "
+            "The top-level rows/columns contain only the last statement's 
results. "
+            "Check each entry in the statements array for per-statement data."
+        ),
+    )

Review Comment:
   Good catch! Fixed in the latest push - changed "last statement" to "last 
data-bearing statement" to accurately reflect the implementation.



-- 
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]

Reply via email to