-
Notifications
You must be signed in to change notification settings - Fork 30
feat(parser): update to Substrait v0.87.0 with enum arg support #222
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
Merged
Merged
Changes from 21 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
73b76f7
feat(parser): update to Substrait v0.87.0 with enum arg support
benbellick 4604677
chore: go mod tidy after substrait v0.87.0 upgrade
benbellick f290b00
refactor(parser): route enum args via CaseLiteral.FuncArg() not Value…
benbellick 4e71758
refactor(parser): widen CaseLiteral.Value to types.FuncArg
benbellick 6713850
refactor(parser): remove WithType from VisitDecimalArg
benbellick 0abf3ed
refactor(parser): remove string-to-enum fallback from GetScalarFuncti…
benbellick 8a18d59
chore: skip std_dev/variance tests and revert getAggregateFuncTableSc…
benbellick 4e0469b
fix: EnumType.ShortString() should return "req" per substrait spec
benbellick 10e28f1
fix: getArgTypes returns CommonEnumType for enum args instead of nil
benbellick 7622e18
fix(parser): cleanup from review — drop stale TODO, extract literal()…
benbellick dff6d3f
fix(parser): use literal() helper consistently, document enum arg lim…
benbellick 9168505
Merge branch 'main' into feat/substrait-v0.87.0-enum-arg-support
benbellick e518a40
chore(testcases): update std_dev/variance skip to reference upstream fix
benbellick 2aecefa
chore(testcases): remove stale #223 comment and clarify nil-type work…
benbellick f9f5fa8
test(testcases): add TestParseEnumArg to cover enum arg parsing and S…
benbellick 37d30e2
refactor(testcases): inline literal() helper
benbellick 8d3d478
fix(testcases): fix enum rendering in String/AsAggregateArgumentStrin…
benbellick fa6bb76
chore: restore original comments in visitor.go to keep diff minimal
benbellick 7da3b46
chore: restore argTypes variable pattern in testGetFunctionInvocation
benbellick d2134e2
refactor(testcases): simplify TestParseEnumArg
benbellick b50e9ae
test: cover types.Enum case in getArgTypes and EnumType.ShortString
benbellick 9137a77
fix(testcases): remove unreachable Literal branch in AsAggregateArgum…
benbellick c4095ef
docs(types): add comment explaining EnumType.ShortString returns "req"
benbellick 3d43a74
fix(testcases): restore general fallback in AsAggregateArgumentString
benbellick 858423d
refactor(testcases): use type switch for arg value assertion
benbellick File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,316 changes: 660 additions & 656 deletions
1,316
testcases/parser/baseparser/functestcase_lexer.go
Large diffs are not rendered by default.
Oops, something went wrong.
2,023 changes: 1,086 additions & 937 deletions
2,023
testcases/parser/baseparser/functestcase_parser.go
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
testcases/parser/baseparser/functestcaseparser_base_visitor.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.