Yuto Akutsu created SPARK-37927:
-----------------------------------

             Summary: 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


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

Reply via email to