[
https://issues.apache.org/jira/browse/SPARK-29632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Takeshi Yamamuro updated SPARK-29632:
-------------------------------------
Description:
{code}
CREATE SCHEMA temp_view_test;
CREATE TABLE tx1 (x1 int, x2 int, x3 string) using parquet;
ALTER TABLE tx1 SET SCHEMA temp_view_test;
{code}
{code}
ALTER TABLE [ IF EXISTS ] name
SET SCHEMA new_schema
{code}
https://www.postgresql.org/docs/current/sql-altertable.html
was:
{code}
CREATE SCHEMA temp_view_test;
CREATE TABLE tx1 (x1 int, x2 int, x3 string) using parquet;
ALTER TABLE tx1 SET SCHEMA temp_view_test;
{code}
https://www.postgresql.org/docs/current/sql-altertable.html
> Support ALTER TABLE [relname] SET SCHEMA [dbname]
> -------------------------------------------------
>
> Key: SPARK-29632
> URL: https://issues.apache.org/jira/browse/SPARK-29632
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Takeshi Yamamuro
> Priority: Major
>
> {code}
> CREATE SCHEMA temp_view_test;
> CREATE TABLE tx1 (x1 int, x2 int, x3 string) using parquet;
> ALTER TABLE tx1 SET SCHEMA temp_view_test;
> {code}
> {code}
> ALTER TABLE [ IF EXISTS ] name
> SET SCHEMA new_schema
> {code}
> https://www.postgresql.org/docs/current/sql-altertable.html
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]