-
Notifications
You must be signed in to change notification settings - Fork 2.3k
feat: support null_treatment, distinct, and filter for window functions in proto
#18024
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
Jefffrey
merged 14 commits into
apache:main
from
dqkqd:support-null-treatment-distinct-and-filter-in-proto
Oct 17, 2025
Merged
Changes from 11 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
08151f4
chore: typo and comments
dqkqd 12b4b51
test: add `null_treatment`, `distinct`, `filter` test
dqkqd fa49554
feat: add `null_treatment`, `distinct`, `filter` fields
dqkqd edbdae8
feat: support `null_treatment`
dqkqd ecb9a67
refactor: reuse common code
dqkqd 5e9174e
feat: support `distinct`, `filter`
dqkqd f09c7ff
refactor: use `UNSPECIFIED`
dqkqd 47285bd
chore: cleanup
dqkqd 3168e14
test: add `null_treatment` for aggregate udf
dqkqd 7d91dd9
feat: support `null_treatment` for aggegrate udf
dqkqd 9dedd7f
refactor: use optional `null_treatment`
dqkqd 8286f22
refactor: remove `UNSPECIFIED` in `null_treatment`
dqkqd 6da6986
Merge remote-tracking branch 'public/main' into support-null-treatmen…
dqkqd 7023c9f
Merge branch 'main' into support-null-treatment-distinct-and-filter-i…
Jefffrey 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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As described in the issue, there should be a
UNSPECIFIEDfield.This is also noted here:
https://protobuf.dev/best-practices/dos-donts/#unspecified-enum
But I don't see we are doing it for other enums.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e.g:
datafusion/datafusion/proto/proto/datafusion.proto
Lines 1314 to 1317 in b27fedc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we never did it before because we don't try to maintain version compatibility:
datafusion/datafusion/proto/src/lib.rs
Lines 46 to 50 in b27fedc