Refactor ApproximateMostFrequent to use type annotations#21418
Refactor ApproximateMostFrequent to use type annotations#21418tdcmeehan merged 1 commit intoprestodb:masterfrom
ApproximateMostFrequent to use type annotations#21418Conversation
|
|
ZacBlanco
left a comment
There was a problem hiding this comment.
two nits, otherwise LGTM
...ava/com/facebook/presto/operator/aggregation/approxmostfrequent/ApproximateMostFrequent.java
Outdated
Show resolved
Hide resolved
...ava/com/facebook/presto/operator/aggregation/approxmostfrequent/ApproximateMostFrequent.java
Outdated
Show resolved
Hide resolved
ApproxMostFrequent to use type annotationsApproximateMostFrequent to use type annotations
|
Can you please squash all changes into a single commit? |
770249d to
435fd45
Compare
|
Codenotify: Notifying subscribers in CODENOTIFY files for diff 8aebd34...4474b3d. No notifications. |
bcf2b75 to
dde851c
Compare
There was a problem hiding this comment.
You might need to rebase on the latest master. This shouldn't be changed in this PR
There was a problem hiding this comment.
Yeah, sorry. Will resolve this first thing tomorrow.
|
LGTM, % need to rebase. Please, once rebased, I can merge @npochhi. |
|
@npochhi will you be rebasing? |
dde851c to
4474b3d
Compare
|
FYI I just rebased to fix the merge conflict, will merge once tests are green. |
|
The aggregation function will fail for null input after this change, I am reverting the change in #21712, test query which fails can be found in the reverting PR |
|
Thanks @feilong-liu, reopened #21365. |
Description
Resolves #21365. This PR refactors
ApproximateMostFrequentfunction to use function annotation framework.Motivation and Context
This will simplify the implementation of the function.
Impact
None
Test Plan
Current tests
Contributor checklist
Release Notes
Please follow release notes guidelines and fill in the release notes below.