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

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


The following commit(s) were added to refs/heads/branch-3.5 by this push:
     new 4c3427a2337 [SPARK-44672][INFRA] Fix git ignore rules related to Antlr
4c3427a2337 is described below

commit 4c3427a23378c258132e8a741fad7af97d31f4a1
Author: yangjie01 <yangji...@baidu.com>
AuthorDate: Fri Aug 4 08:10:08 2023 -0700

    [SPARK-44672][INFRA] Fix git ignore rules related to Antlr
    
    ### What changes were proposed in this pull request?
    https://github.com/apache/spark/pull/41928 moved antlr4 related files and 
directories from the `sql/catalyst` module to the `sql/api` module. This pr fix 
the corresponding git ignore rules to avoid unexpected diffs when executing 
`git status`.
    
    ### Why are the changes needed?
    Avoid unexpected diffs when executing `git status`.
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    - Manual check `git status`
    
    **Before**
    
    ```
    sql/api/gen/
    sql/api/src/main/antlr4/org/apache/spark/sql/catalyst/parser/gen/
    ```
    
    **After**
    no diff.
    
    Closes #42342 from LuciferYang/minor-gitignore.
    
    Authored-by: yangjie01 <yangji...@baidu.com>
    Signed-off-by: Dongjoon Hyun <dongj...@apache.org>
    (cherry picked from commit 2d3bb4d5db71cc14e617dec8fa69799552b75975)
    Signed-off-by: Dongjoon Hyun <dongj...@apache.org>
---
 .gitignore | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 11141961bf8..064b502175b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -117,6 +117,6 @@ spark-warehouse/
 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/
+sql/api/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