mirror of
https://github.com/apache/superset.git
synced 2026-05-12 11:25:56 +00:00
fix(mssql): avoid trying to return a resultset for DML queries with not resultset (#24999)
(cherry picked from commit 66eabc253f)
This commit is contained in:
committed by
Michael S. Molina
parent
994fd2301f
commit
34bc86a484
@@ -217,6 +217,7 @@ class ParsedQuery:
|
||||
def limit(self) -> Optional[int]:
|
||||
return self._limit
|
||||
|
||||
# pylint: disable=no-self-use
|
||||
def _get_cte_tables(self, parsed: dict[str, Any]) -> list[dict[str, Any]]:
|
||||
if "with" not in parsed:
|
||||
return []
|
||||
|
||||
Reference in New Issue
Block a user