XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • SQL
    • None

    Description

      SPARK-32375 adds new method renameTable to JdbcDialect with the default implementation:

      ALTER TABLE table_name RENAME TO new_table_name;
      

      which is supported by Oracle, MySQL, MariaDB, PostgreSQL and SQLite but other dialects might not support such syntax, for instance SQL Server (using the stored procedure called sp_rename):

      sp_rename 'table_name', 'new_table_name';
      

      The ticket aims to support table renaming in all JDBC dialects.

      Attachments

        Issue Links

          Activity

            People

              maxgekk Max Gekk
              maxgekk Max Gekk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: