[
https://issues.apache.org/jira/browse/SPARK-39013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17527788#comment-17527788
]
Apache Spark commented on SPARK-39013:
--------------------------------------
User 'jackierwzhang' has created a pull request for this issue:
https://github.com/apache/spark/pull/36345
> Parser changes to enforce `()` for creating table without any columns
> ---------------------------------------------------------------------
>
> Key: SPARK-39013
> URL: https://issues.apache.org/jira/browse/SPARK-39013
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.4
> Reporter: Jackie Zhang
> Priority: Major
>
> We would like to enforce the `()` for `CREATE TABLE` queries to explicit
> indicate a table without any columns will be created.
> E.g. `CREATE TABLE table () USING DELTA`.
> Existing behavior of CTAS and CREATE external table at location are not
> affected.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]