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
- is blocked by
-
SPARK-32375 Implement TableCatalog for JDBC
- Resolved
- links to