-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Minor: Move group accumulator for aggregate function to physical-expr-common, and add ahash physical-expr-common #10574
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
Conversation
Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
alamb
left a comment
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.
Looks good to me -- thanks @jayzhan211
| # for the inherited dependency but cannot do the reverse (override from true to false). | ||
| # | ||
| # See for more detaiils: https://github.com/rust-lang/cargo/issues/11329 | ||
| ahash = { version = "0.8", default-features = false, features = [ |
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.
👍
| // specific language governing permissions and limitations | ||
| // under the License. | ||
|
|
||
| pub mod accumulate; |
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.
Perhaps we could add a note that this module is for implementing GroupsAccumulator
| pub mod accumulate; | |
| //! Utilities for implementing [`GroupsAccumulator`] | |
| pub mod accumulate; |
| pub(crate) mod accumulate; | ||
| mod adapter; | ||
| pub use accumulate::NullState; | ||
|
|
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.
👍 for backwards compatibility
Maybe we can leave a comment explaining it is for backwards compatibility
Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
|
Thanks @alamb |
|
🚀 |
…-common, and add ahash physical-expr-common (apache#10574) * ahash workspace Signed-off-by: jayzhan211 <jayzhan211@gmail.com> * move other utils Signed-off-by: jayzhan211 <jayzhan211@gmail.com> * move NullState Signed-off-by: jayzhan211 <jayzhan211@gmail.com> * move PrimitiveGroupsAccumulator Signed-off-by: jayzhan211 <jayzhan211@gmail.com> * move boolop Signed-off-by: jayzhan211 <jayzhan211@gmail.com> * move deciamlavg Signed-off-by: jayzhan211 <jayzhan211@gmail.com> * add comment Signed-off-by: jayzhan211 <jayzhan211@gmail.com> * fix doc Signed-off-by: jayzhan211 <jayzhan211@gmail.com> --------- Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
Which issue does this PR close?
Closes #.
Rationale for this change
Counttofunctions-aggregate, update MSRV to rust 1.75 #10484What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?