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: [email protected]
For additional commands, e-mail: [email protected]