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

sarutak 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 46ccc22  [MINOR][INFRA] Add ANTLR generated files to .gitignore
46ccc22 is described below

commit 46ccc22ee40c780f6ae4a9af4562fb1ad10ccd9f
Author: Yuto Akutsu <yuto.aku...@oss.nttdata.com>
AuthorDate: Thu Mar 17 18:12:13 2022 +0900

    [MINOR][INFRA] Add ANTLR generated files to .gitignore
    
    ### What changes were proposed in this pull request?
    
    Add git ignore entries for files created by ANTLR.
    
    ### Why are the changes needed?
    
    To avoid developers from accidentally adding those files when working on 
parser/lexer.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    To make sure those files are ignored by `git status` when they exist.
    
    Closes #35838 from yutoacts/minor_gitignore.
    
    Authored-by: Yuto Akutsu <yuto.aku...@oss.nttdata.com>
    Signed-off-by: Kousuke Saruta <saru...@oss.nttdata.com>
---
 .gitignore | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.gitignore b/.gitignore
index b758781..0e2f59f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -117,3 +117,8 @@ spark-warehouse/
 
 # For Node.js
 node_modules
+
+# For Antlr
+sql/catalyst/gen/
+sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseLexer.tokens
+sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/gen/

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

Reply via email to