-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Deprecate builtin first/last aggregate function and use UDAF #10091
Closed
Closed
Changes from 102 commits
Commits
Show all changes
105 commits
Select commit
Hold shift + click to select a range
0eaf289
backup
jayzhan211 5338f61
move PhysicalExpr
jayzhan211 450ae4b
cleanup
jayzhan211 3624964
move physical sort
jayzhan211 835f147
cleanup dependencies
jayzhan211 c5d80c8
add readme
jayzhan211 7851de7
disable doc test
jayzhan211 f5aafb3
move column
jayzhan211 7bfc074
fmt
jayzhan211 675d2fe
move aggregatexp
jayzhan211 5220087
move other two utils
jayzhan211 113a000
license
jayzhan211 fea87e3
switch to ignore
jayzhan211 06d87bc
move reverse order
jayzhan211 26e5782
rename to common
jayzhan211 26f852c
cleanup
jayzhan211 65bf4a1
Merge branch 'physical-expr-core' into move-agg-crate-2
jayzhan211 2bc58c1
backup
jayzhan211 ae9db96
Merge branch 'physical-expr-core' into move-agg-crate-2
jayzhan211 30d5576
move acc to first value
jayzhan211 672edc7
move builtin expr too
jayzhan211 109b790
use macro
jayzhan211 87d589f
fmt
jayzhan211 398e4e2
fix doc
jayzhan211 04c7f5e
add todo
jayzhan211 01a1ddf
rm comments
jayzhan211 4871414
rm unused
jayzhan211 1ef212b
rm unused code
jayzhan211 b6d53a5
change to private
jayzhan211 9aa15a2
fix lock
jayzhan211 e90464b
cleanup
jayzhan211 ece925f
cleanup
jayzhan211 89ccc89
support roundtrip
jayzhan211 41a830a
remmove old format state
jayzhan211 ec3baa7
replace with last-udf
jayzhan211 6801bc2
introduce expr with arguments
jayzhan211 224bce0
remove proto
jayzhan211 7a38494
fix signature
jayzhan211 8de10c7
todo move AggregateFunctionExpr
jayzhan211 d235d2a
move aggregate related things to aggr crate
jayzhan211 dc886e4
Merge branch 'move-agg-crate-2' into last-udf
jayzhan211 8caf8b8
backup
jayzhan211 51cd272
move back to common
jayzhan211 38b2ce7
taplo
jayzhan211 7205bdc
Merge branch 'move-agg-crate-2' into last-udf
jayzhan211 35fcc26
backup
jayzhan211 ecbfe88
backup
jayzhan211 1b70b34
Merge remote-tracking branch 'upstream/main' into last-udf
jayzhan211 e506662
move out the ordering ruel
jayzhan211 2812886
introduce rule
jayzhan211 d20dde3
revert test result
jayzhan211 c671033
pass mulit order test
jayzhan211 3f43dc1
cleanup
jayzhan211 c8b46a4
with new childes
jayzhan211 fcb297b
revert slt
jayzhan211 ab10168
revert back
jayzhan211 fffb54a
rm rewrite in new child
jayzhan211 fec3eaf
backup
jayzhan211 5b68b48
only move conversion to optimizer
jayzhan211 2ab74c9
find test that do reverse
jayzhan211 03abf19
add test for first and last
jayzhan211 83c721a
pass all test
jayzhan211 34b8f01
upd test
jayzhan211 b17e8f7
upd test
jayzhan211 a313af0
cleanup
jayzhan211 a37fb3e
cleanup
jayzhan211 8de501c
cleanup
jayzhan211 107f4c8
add aggregate test
jayzhan211 345d4c6
cleanup
jayzhan211 030d7b9
final draft
jayzhan211 cf3f33e
cleanup again
jayzhan211 47699fe
backup
jayzhan211 9d59703
Merge remote-tracking branch 'origin/aggr-rule' into last-udf
jayzhan211 6d9ee9f
pull out finer ordering code and reuse
jayzhan211 abd40c6
clippy
jayzhan211 c1a7f60
Merge remote-tracking branch 'origin/aggr-rule' into last-udf
jayzhan211 ca99822
Merge remote-tracking branch 'upstream/main' into last-udf
jayzhan211 bf9c05b
fix convert firstlast
jayzhan211 a3a773d
pass all test
jayzhan211 3e2c186
remove finer in optimize rule
jayzhan211 d7c2590
add comments and clenaup
jayzhan211 fed356a
rename fun
jayzhan211 0d3d461
rename fun
jayzhan211 d3daa4e
fmt
jayzhan211 dcb3e90
avoid unnecessary recursion and rename
jayzhan211 2951fbc
remove unnecessary rule
jayzhan211 af45a22
Merge remote-tracking branch 'upstream/main' into aggr-rule
jayzhan211 35b84ae
Merge remote-tracking branch 'upstream/main' into aggr-rule
jayzhan211 fffcd3b
fix merge
jayzhan211 1b12274
Merge remote-tracking branch 'upstream/main' into last-udf-3
jayzhan211 2aae217
Merge branch 'aggr-rule' into last-udf-3
jayzhan211 55f6011
cleanup
jayzhan211 38f5fa5
remove builtin first and last
jayzhan211 3eb1cf6
remove expr
jayzhan211 6b07330
rm test1
jayzhan211 16120e6
cleanup
jayzhan211 acba534
Merge remote-tracking branch 'upstream/main' into last-udf-3
jayzhan211 e36b3a3
cleanup
jayzhan211 c98b6c6
Merge remote-tracking branch 'upstream/main' into last-udf-3
jayzhan211 51aa6f9
fix func name
jayzhan211 8edad9e
pull out reverse sort exprs
jayzhan211 431df45
support all args for first/last expr_fn
jayzhan211 dae4a28
rm once-cell
jayzhan211 38b7c96
Merge remote-tracking branch 'upstream/main' into last-udf-3
jayzhan211 c4a62f5
fix name
jayzhan211 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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 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 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 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 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 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 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.
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.
where derive(Clone) is needed