You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sa...@apache.org on 2022/03/17 09:13:39 UTC
[spark] branch master updated: [MINOR][INFRA] Add ANTLR generated files to .gitignore
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 <yu...@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 <yu...@oss.nttdata.com>
Signed-off-by: Kousuke Saruta <sa...@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-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org