[
https://issues.apache.org/jira/browse/SPARK-37927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17476973#comment-17476973
]
Yuto Akutsu commented on SPARK-37927:
-------------------------------------
I'm working on it.
> Support ALTER TABLE SWAP - atomically swap all content and metadata between
> two tables
> --------------------------------------------------------------------------------------
>
> Key: SPARK-37927
> URL: https://issues.apache.org/jira/browse/SPARK-37927
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.3.0
> Reporter: Yuto Akutsu
> Priority: Major
>
> Add ALTER TABLE SWAP to improve user experience with Spark SQL. Other DBMSs
> have the feature:
> * Snowflake:
> [https://docs.snowflake.com/en/sql-reference/sql/alter-table.html#parameters]
> * MySQL(not exactly the same statement but the same transaction can be
> done): [https://dev.mysql.com/doc/refman/8.0/en/rename-table.html]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]