You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2022/12/09 10:22:33 UTC

[spark] branch master updated: [MINOR][DOC] Fix typo in SqlBaseLexer.g4

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

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new bc32392a3c8 [MINOR][DOC] Fix typo in SqlBaseLexer.g4
bc32392a3c8 is described below

commit bc32392a3c89a117219cd3c33fc4707ce5ecc002
Author: jiaoqb <ji...@asiainfo.com>
AuthorDate: Fri Dec 9 02:22:20 2022 -0800

    [MINOR][DOC] Fix typo in SqlBaseLexer.g4
    
    ### What changes were proposed in this pull request?
    
    Fix typo in SqlBaseLexer.g4
    
    ### Why are the changes needed?
    
    Better documentation
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    N/A
    
    Closes #38990 from jiaoqingbo/typefix.
    
    Authored-by: jiaoqb <ji...@asiainfo.com>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 .../main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseLexer.g4    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseLexer.g4 b/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseLexer.g4
index 41adbda7b10..38f52901aa2 100644
--- a/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseLexer.g4
+++ b/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseLexer.g4
@@ -18,7 +18,7 @@ lexer grammar SqlBaseLexer;
 
 @members {
   /**
-   * When true, parser should throw ParseExcetion for unclosed bracketed comment.
+   * When true, parser should throw ParseException for unclosed bracketed comment.
    */
   public boolean has_unclosed_bracketed_comment = false;
 


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