You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ya...@apache.org on 2020/07/08 02:33:59 UTC

[spark] branch branch-3.0 updated: [SPARK-30703][SQL][FOLLOWUP] Update SqlBase.g4 invalid comment

This is an automated email from the ASF dual-hosted git repository.

yamamuro pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 37dc51a  [SPARK-30703][SQL][FOLLOWUP] Update SqlBase.g4 invalid comment
37dc51a is described below

commit 37dc51a5dddc2958c18831e9c0809c3b495aa719
Author: ulysses <yo...@weidian.com>
AuthorDate: Wed Jul 8 11:30:47 2020 +0900

    [SPARK-30703][SQL][FOLLOWUP] Update SqlBase.g4 invalid comment
    
    ### What changes were proposed in this pull request?
    
    Modify the comment of `SqlBase.g4`.
    
    ### Why are the changes needed?
    
    `docs/sql-keywords.md` has already moved to `docs/sql-ref-ansi-compliance.md#sql-keywords`.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    No need.
    
    Closes #29033 from ulysses-you/SPARK-30703-FOLLOWUP.
    
    Authored-by: ulysses <yo...@weidian.com>
    Signed-off-by: Takeshi Yamamuro <ya...@apache.org>
    (cherry picked from commit 65286aec4b3c4e93d8beac6dd1b097ce97d53fd8)
    Signed-off-by: Takeshi Yamamuro <ya...@apache.org>
---
 .../src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 b/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
index 5821a74..75dae8f 100644
--- a/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
+++ b/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
@@ -1441,8 +1441,7 @@ nonReserved
     ;
 
 // NOTE: If you add a new token in the list below, you should update the list of keywords
-// in `docs/sql-keywords.md`. If the token is a non-reserved keyword,
-// please update `ansiNonReserved` and `nonReserved` as well.
+// and reserved tag in `docs/sql-ref-ansi-compliance.md#sql-keywords`.
 
 //============================
 // Start of the keywords list


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