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

gengliang 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 efcef707022b [SPARK-51698][INFRA] Ignore sql/api/src/main/gen/ in Git
efcef707022b is described below

commit efcef707022b4b73e5728879867f39f059e58470
Author: Gengliang Wang <gengli...@apache.org>
AuthorDate: Wed Apr 2 13:18:16 2025 -0700

    [SPARK-51698][INFRA] Ignore sql/api/src/main/gen/ in Git
    
    ### What changes were proposed in this pull request?
    
    Ignore `sql/api/src/main/gen/` in Git.
    The Antlr plugin of Intellij generates the output under 
`sql/api/src/main/gen/`
    <img width="691" alt="image" 
src="https://github.com/user-attachments/assets/26cd9df1-d644-4ac8-a260-76d2fb41efde";
 />
    
    We should ignore the Antlr outputs
    <img width="746" alt="image" 
src="https://github.com/user-attachments/assets/8044b2bf-5b85-4d3c-8f6a-bf7b5c395937";
 />
    
    ### Why are the changes needed?
    
    Improve dev experience.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    Manually test in my local setup
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No
    
    Closes #50498 from gengliangwang/gitignore.
    
    Authored-by: Gengliang Wang <gengli...@apache.org>
    Signed-off-by: Gengliang Wang <gengli...@apache.org>
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 0a4138ec2694..d7632abb49f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -122,5 +122,6 @@ node_modules
 
 # For Antlr
 sql/api/gen/
+sql/api/src/main/gen/
 
sql/api/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseLexer.tokens
 sql/api/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