korbit-ai[bot] commented on code in PR #33525:
URL: https://github.com/apache/superset/pull/33525#discussion_r2096610907
##########
superset/sql/parse.py:
##########
@@ -437,6 +448,16 @@ def as_cte(self, alias: str = "__cte") -> SQLStatement:
"""
raise NotImplementedError()
+ def as_create_table(self, table: Table, method: CTASMethod) ->
SQLStatement:
+ """
+ Rewrite the statement as a `CREATE TABLE AS` statement.
+
+ :param table: The table to create.
+ :param method: The method to use for creating the table.
+ :return: A new SQLStatement with the CTE.
+ """
Review Comment:
Thanks for the confirmation! 👍
--
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]