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

Wenchen Fan updated SPARK-31257:
--------------------------------
    Description: 
There's a discussion in dev@ mailing list to point out ambiguous syntaxes for 
CREATE TABLE DDL. This issue tracks the efforts to resolve the root issue via 
unifying the create table syntax.

[https://lists.apache.org/thread.html/rf1acfaaa3de2d3129575199c28e7d529d38f2783e7d3c5be2ac8923d%40%3Cdev.spark.apache.org%3E]

We should ensure the new "single" create table syntax is very deterministic to 
both devs and end users.

This work also includes how to pass the extra CREATE TABLE information(from the 
Hive tyle CREATE TABLE) to the v2 catalog:

1.  turn the Hive serde info to table properties with `option.` prefix.

2. add a new v2 table option `external` to indicate CREATE EXTERNAL TABLE.

  was:
There's a discussion in dev@ mailing list to point out ambiguous syntaxes for 
CREATE TABLE DDL. This issue tracks the efforts to resolve the root issue via 
unifying the create table syntax.

https://lists.apache.org/thread.html/rf1acfaaa3de2d3129575199c28e7d529d38f2783e7d3c5be2ac8923d%40%3Cdev.spark.apache.org%3E

We should ensure the new "single" create table syntax is very deterministic to 
both devs and end users.


> Unify create table syntax to fix ambiguous two different CREATE TABLE syntaxes
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-31257
>                 URL: https://issues.apache.org/jira/browse/SPARK-31257
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Jungtaek Lim
>            Priority: Major
>
> There's a discussion in dev@ mailing list to point out ambiguous syntaxes for 
> CREATE TABLE DDL. This issue tracks the efforts to resolve the root issue via 
> unifying the create table syntax.
> [https://lists.apache.org/thread.html/rf1acfaaa3de2d3129575199c28e7d529d38f2783e7d3c5be2ac8923d%40%3Cdev.spark.apache.org%3E]
> We should ensure the new "single" create table syntax is very deterministic 
> to both devs and end users.
> This work also includes how to pass the extra CREATE TABLE information(from 
> the Hive tyle CREATE TABLE) to the v2 catalog:
> 1.  turn the Hive serde info to table properties with `option.` prefix.
> 2. add a new v2 table option `external` to indicate CREATE EXTERNAL TABLE.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to