michael-s-molina commented on code in PR #36529:
URL: https://github.com/apache/superset/pull/36529#discussion_r2615011610
##########
superset-core/src/superset_core/api/models.py:
##########
@@ -75,6 +84,83 @@ def backend(self) -> str:
def data(self) -> dict[str, Any]:
raise NotImplementedError
+ def execute(
+ self,
+ sql: str,
+ options: QueryOptions | None = None,
+ ) -> QueryResult:
Review Comment:
`QueryResult` includes additional information—such as whether the query
executed successfully, any error messages if it didn’t, caching details, and
more. While it may also contain the actual result set when applicable, it is
designed to be relevant even for queries where no result data is expected.
--
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]