-
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
Extend expression fuzzer test to support decimal #9149
Conversation
✅ Deploy Preview for meta-velox canceled.
|
Hi @mbasmanova, I drafted this PR to support decimal in expression fuzzer test. Tested decimal_add and decimal_between locally for 10 minutes each. Below are some next-steps I can think of.
Besides that, do you have more items in mind which I should take care of to move forward? Thank you. |
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.
@rui-mo Rui, thank you for extending Fuzzer to cover decimal types. Would you update the PR description to provide some details about the design of this extension? Are there any limitations?
@kagamiori @kgpai Krishna, Wei, would you help review this PR?
3714ccc
to
3e340cd
Compare
This PR is updated and ready for review. Thanks. |
6ee7848
to
70e0b27
Compare
8251b61
to
569a1c8
Compare
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.
workflow changes look good!
@majetideepak @assignUser Thanks for your review. The workflow fails with below error as the main branch is used for testing. It should be fine after this PR is landed.
|
@rui-mo A safer option is to move the dependent workflow changes to a new PR. It is always safer to avoid landing changes when CI is failing. |
ea7a940
to
325aef2
Compare
@majetideepak Thanks for the suggestion. Removed workflow changes. |
@rui-mo thanks! This PR is already approved and tagged for merging. Meta will merge this. |
@xiaoxmeng Would you help import and merge this PR? Thanks. |
Hi @xiaoxmeng, does this PR also require some internal work from Meta? Wondering if there is any chance to land this change first. Thanks. |
@gggrace14 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
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.
The last commit in this PR was almost a month ago. Can we rebase it before merging please.
451cea3
to
70cf156
Compare
@assignUser @gggrace14 Rebased this PR, and the macOS build failure looks relevant to #10886. Would you take a another look? Thank you. |
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.
Thanks!
We are seeing this problem where PRs that were created before we enabled the notification system do not trigger a ready-to-merge notification. Apologies for the delay on this one. |
@gggrace14 merged this pull request in 030e439. |
Conbench analyzed the 1 benchmark run on commit There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
@gggrace14 @pedroerp Thanks for noticing and helping land this PR! |
ArgumentTypeFuzzer could be used to generate argument types when constructing a
decimal expression in the fuzzer test. However, given a result type, it is
unable to produce argument types that satisfy the necessary constraints. To
address this limitation, argument type generators for Presto and Spark decimal
functions have been added. In this PR, ExpressionFuzzer takes a map from
function name to an instance of the argument generator. Custom generators
provided by Presto and Spark are used in the expression fuzzer test to generate
argument types. Experimental fuzzer tests with decimal type enabled will be
added in a follow-up PR.
#1968