Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-26613

Add another rename table grammar for spark sql

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0
    • None
    • SQL
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              beliefer Jiaan Geng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: