You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/10/27 23:04:00 UTC

[jira] [Commented] (SPARK-40944) Relax ordering constraint for CREATE TABLE column options

    [ https://issues.apache.org/jira/browse/SPARK-40944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17625353#comment-17625353 ] 

Apache Spark commented on SPARK-40944:
--------------------------------------

User 'dtenedor' has created a pull request for this issue:
https://github.com/apache/spark/pull/38418

> Relax ordering constraint for CREATE TABLE column options
> ---------------------------------------------------------
>
>                 Key: SPARK-40944
>                 URL: https://issues.apache.org/jira/browse/SPARK-40944
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Daniel
>            Priority: Major
>
> Currently the grammar for each CREATE TABLE column is:
> createOrReplaceTableColType
>     : colName=errorCapturingIdentifier dataType (NOT NULL)? defaultExpression? commentSpec?
>     ;
> This enforces a constraint on the order of: (NOT NULL, DEFAULT value, COMMENT value). We can update the grammar to allow these options in any order instead, to improve usability.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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