[ 
https://issues.apache.org/jira/browse/SPARK-32382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-32382:
------------------------------------

    Assignee: Apache Spark

> Override table renaming in JDBC dialects
> ----------------------------------------
>
>                 Key: SPARK-32382
>                 URL: https://issues.apache.org/jira/browse/SPARK-32382
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Maxim Gekk
>            Assignee: Apache Spark
>            Priority: Minor
>
> SPARK-32375 adds new method renameTable to JdbcDialect with the default 
> implementation:
> {code:sql}
> ALTER TABLE table_name RENAME TO new_table_name;
> {code}
> 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):
> {code:sql}
> sp_rename 'table_name', 'new_table_name';
> {code}
> The ticket aims to support table renaming in all JDBC dialects.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to