You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Takeshi Yamamuro (Jira)" <ji...@apache.org> on 2019/10/29 06:36:00 UTC
[jira] [Created] (SPARK-29633) Make COLUMN optional in ALTER TABLE
Takeshi Yamamuro created SPARK-29633:
----------------------------------------
Summary: Make COLUMN optional in ALTER TABLE
Key: SPARK-29633
URL: https://issues.apache.org/jira/browse/SPARK-29633
Project: Spark
Issue Type: Sub-task
Components: SQL
Affects Versions: 3.0.0
Reporter: Takeshi Yamamuro
In the mater, the query below fails;
{code}
create table tt3 (ax bigint, b short, c decimal) using parquet;
alter table tt3 rename c to d;
{code}
In PostgreSQL, we can make COLUMN optional;
{code}
ALTER TABLE [ IF EXISTS ] [ ONLY ] name [ * ]
RENAME [ COLUMN ] column_name TO new_column_name
{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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org