-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Disable aggregate pushdown for decimal type #11298
Disable aggregate pushdown for decimal type #11298
Conversation
✅ Deploy Preview for meta-velox ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@Yuhta Could you please help to review this PR? Thanks. |
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.
Can you add a unit test to make sure short decimal aggregation is not push down?
@Yuhta I've updated code based on comments and added a unit test. Could you please take a look? |
@Yuhta Just a gentle ping. |
@NEUpanning The test failure seems related: |
@Yuhta Thanks for pointing out the failing unit test. For MinAggregate and MaxAggregate we should set |
@Yuhta Could you please help to review this PR again? Thanks. |
@kevinwilfong has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@NEUpanning It looks like the commit was published a while ago, do you mind rebasing and updating the PR? |
61c49c8
to
fe76952
Compare
@kevinwilfong Sure, I've rebased it onto the main branch. |
@kevinwilfong has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@kevinwilfong merged this pull request in 06ab001. |
Conbench analyzed the 1 benchmark run on commit There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
Summary: Currently, `int64_t` enables push-down for decimal type. This PR disables aggregate pushdown for decimal type regardless of c++ type. Fixes facebookincubator#11290 Pull Request resolved: facebookincubator#11298 Reviewed By: Yuhta Differential Revision: D65834210 Pulled By: kevinwilfong fbshipit-source-id: 422f7eda8f4184c6fa83055e7cf430ff5053d387
…ebookincubator#11298 (#505) * Fix NaN handling for min/max aggreates pushed down to scan (facebookincubator#10583) Summary: Pull Request resolved: facebookincubator#10583 This fixes min/max aggregates to handle NaN values correctly when they are pushed down to the scan operator. Specifically, the change ensures that NaN values are considered greater than infinity. Reviewed By: zacw7 Differential Revision: D60297934 fbshipit-source-id: 3398ba24d6fc70bbd0d8583d2949391b0824099c * Schema evolution support for reader value hooks (facebookincubator#10755) Summary: X-link: facebookincubator/nimble#72 Pull Request resolved: facebookincubator#10755 Currently reader value hook is not considering schema evolution at all, this change fix that. Reviewed By: kevinwilfong Differential Revision: D61229494 fbshipit-source-id: 729bb90611fb3164282b524376eda20985a30194 * Disable aggregate pushdown for decimal type (facebookincubator#11298) Summary: Currently, `int64_t` enables push-down for decimal type. This PR disables aggregate pushdown for decimal type regardless of c++ type. Fixes facebookincubator#11290 Pull Request resolved: facebookincubator#11298 Reviewed By: Yuhta Differential Revision: D65834210 Pulled By: kevinwilfong fbshipit-source-id: 422f7eda8f4184c6fa83055e7cf430ff5053d387 --------- Co-authored-by: Bikramjeet Vig <bikramjeet@meta.com> Co-authored-by: Jimmy Lu <jimmylu@meta.com> Co-authored-by: NEUpanning <emmning@163.com>
Summary: Currently, `int64_t` enables push-down for decimal type. This PR disables aggregate pushdown for decimal type regardless of c++ type. Fixes facebookincubator#11290 Pull Request resolved: facebookincubator#11298 Reviewed By: Yuhta Differential Revision: D65834210 Pulled By: kevinwilfong fbshipit-source-id: 422f7eda8f4184c6fa83055e7cf430ff5053d387
Currently,
int64_t
enables push-down for decimal type. This PR disables aggregate pushdown for decimal type regardless of c++ type.Fixes #11290