jiaan.geng created SPARK-26613:
----------------------------------

             Summary: Add another rename table grammar for spark sql
                 Key: SPARK-26613
                 URL: https://issues.apache.org/jira/browse/SPARK-26613
             Project: Spark
          Issue Type: New Feature
          Components: SQL
    Affects Versions: 2.4.0, 2.3.0, 2.2.0, 2.1.0, 2.0.0
            Reporter: jiaan.geng


The current version of spark sql contains a rename grammar,like:

`alter table nameA rename to nameB` or `alter view nameA rename to nameB`.

Many database(e.g. mysql,oracle.) provide another grammar,like:

`rename table nameA to nameB`.

I thought maybe spark sql could consider the compatibility.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to