You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuto Akutsu (Jira)" <ji...@apache.org> on 2022/01/17 06:22:00 UTC

[jira] [Commented] (SPARK-37927) Support ALTER TABLE SWAP - atomically swap all content and metadata between two tables

    [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org