Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add antlr grammar for test file format #728

Merged
merged 6 commits into from
Nov 7, 2024

Conversation

scgkiran
Copy link
Contributor

Add parser changes for testcase files
Add function test coverage changes

@vbarua
Copy link
Member

vbarua commented Oct 28, 2024

Would it make sense to split this into 2 PRs, one for the type grammar which is effectively just an import of the existing grammar from substrait-java, and then one for the new test grammar which requires more careful review?

@scgkiran scgkiran marked this pull request as draft October 28, 2024 23:14
@scgkiran scgkiran changed the title feat: add antlr grammar for substrait types and test file format feat: add antlr grammar for test file format Nov 4, 2024
@scgkiran scgkiran marked this pull request as ready for review November 4, 2024 04:47
grammar/FuncTestCaseLexer.g4 Outdated Show resolved Hide resolved
grammar/FuncTestCaseLexer.g4 Outdated Show resolved Hide resolved
grammar/FuncTestCaseParser.g4 Outdated Show resolved Hide resolved
tests/coverage/antlr_parser/FuncTestCaseLexer.tokens Outdated Show resolved Hide resolved
tests/coverage/antlr_parser/FuncTestCaseParser.interp Outdated Show resolved Hide resolved
grammar/FuncTestCaseLexer.g4 Outdated Show resolved Hide resolved
grammar/FuncTestCaseParser.g4 Outdated Show resolved Hide resolved
Copy link
Contributor

@jacques-n jacques-n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Can we add a follow-up task to get this incorporated into CI? As it stands, it looks like nothing guarantees that this runs before merges and in main.

@scgkiran
Copy link
Contributor Author

scgkiran commented Nov 7, 2024

Looks good. Can we add a follow-up task to get this incorporated into CI? As it stands, it looks like nothing guarantees that this runs before merges and in main.

I will do it in next PR.

@jacques-n jacques-n merged commit 752aa63 into substrait-io:main Nov 7, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants