[ https://issues.apache.org/jira/browse/SPARK-35706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17360590#comment-17360590 ]
Apache Spark commented on SPARK-35706: -------------------------------------- User 'jerqi' has created a pull request for this issue: https://github.com/apache/spark/pull/32856 > Consider making the ':' in STRUCT data type definition optional > --------------------------------------------------------------- > > Key: SPARK-35706 > URL: https://issues.apache.org/jira/browse/SPARK-35706 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 3.1.2 > Reporter: roryqi > Priority: Minor > > The STRUCT type syntax is defined like this: > STRUCT(fieldNmae: fileType [NOT NULL][COMMENT stringLiteral][,.....]) > So the field list is NEARLY the same as a column list > if we could make ':' optional it would be so much cleaner an less proprietary -- 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