You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kent Yao (Jira)" <ji...@apache.org> on 2020/01/06 08:24:00 UTC

[jira] [Created] (SPARK-30431) Update SqlBase.g4 to create commentSpec pattern as same as locationSpec

Kent Yao created SPARK-30431:
--------------------------------

             Summary: Update SqlBase.g4 to create commentSpec pattern as same as locationSpec
                 Key: SPARK-30431
                 URL: https://issues.apache.org/jira/browse/SPARK-30431
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Kent Yao


In `SqlBase.g4`, the comment clause is used as `COMMENT comment=STRING` and `COMMENT STRING` in many places.

While the location clause often appears along with the comment clause with a pattern defined as 

{code:sql}
locationSpec
    : LOCATION STRING
    ;
{code}

Then, we have to visit locationSpec as a List but comment as a single token




--
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