You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "jiaan.geng (JIRA)" <ji...@apache.org> on 2019/01/14 11:21:00 UTC

[jira] [Created] (SPARK-26613) Add another rename table grammar for spark sql

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