-
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
Move Aggregation Function Data Specs into the Query Runners #11192
Conversation
This pull request was exported from Phabricator. Differential Revision: D64011761 |
✅ Deploy Preview for meta-velox canceled.
|
…incubator#11192) Summary: Aggregation Function Data Specs declare when we don't want to generate NaN/Infinity for the arguments to a particular aggregate. Today these are hard coded in the AggregationFuzzer itself, but whether or not we support NaN/Infinity in fuzzing an aggregate function is more tightly tied to what we are comparing against (in what cases it's compatible with Velox) which Fuzzer we're running (as evidenced by the fact the Presto and Spark Aggregation Fuzzers are using the same lists currently). We are seeing cases where fuzzing with the Presto Query Runner is succeeding while fuzzing with the DuckDB Query Runner is failing. To fix this I've moved the Aggregation Function Data Specs map into the Query Runner, so that we can specify per Query Runner in what aggregation functions we don't want to produce Nan/Infinity for. Differential Revision: D64011761
51ed855
to
bb6153b
Compare
This pull request was exported from Phabricator. Differential Revision: D64011761 |
…incubator#11192) Summary: Aggregation Function Data Specs declare when we don't want to generate NaN/Infinity for the arguments to a particular aggregate. Today these are hard coded in the AggregationFuzzer itself, but whether or not we support NaN/Infinity in fuzzing an aggregate function is more tightly tied to what we are comparing against (in what cases it's compatible with Velox) which Fuzzer we're running (as evidenced by the fact the Presto and Spark Aggregation Fuzzers are using the same lists currently). We are seeing cases where fuzzing with the Presto Query Runner is succeeding while fuzzing with the DuckDB Query Runner is failing. To fix this I've moved the Aggregation Function Data Specs map into the Query Runner, so that we can specify per Query Runner in what aggregation functions we don't want to produce Nan/Infinity for. Differential Revision: D64011761
bb6153b
to
0759222
Compare
This pull request was exported from Phabricator. Differential Revision: D64011761 |
…incubator#11192) Summary: Aggregation Function Data Specs declare when we don't want to generate NaN/Infinity for the arguments to a particular aggregate. Today these are hard coded in the AggregationFuzzer itself, but whether or not we support NaN/Infinity in fuzzing an aggregate function is more tightly tied to what we are comparing against (in what cases it's compatible with Velox) which Fuzzer we're running (as evidenced by the fact the Presto and Spark Aggregation Fuzzers are using the same lists currently). We are seeing cases where fuzzing with the Presto Query Runner is succeeding while fuzzing with the DuckDB Query Runner is failing. To fix this I've moved the Aggregation Function Data Specs map into the Query Runner, so that we can specify per Query Runner in what aggregation functions we don't want to produce Nan/Infinity for. Reviewed By: kewang1024 Differential Revision: D64011761
0759222
to
d1bbe54
Compare
This pull request was exported from Phabricator. Differential Revision: D64011761 |
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 @kevinwilfong for helping us fix it!
This pull request has been merged in 5e4b35a. |
Conbench analyzed the 1 benchmark run on commit There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
Summary:
Aggregation Function Data Specs declare when we don't want to generate NaN/Infinity for the arguments to a particular aggregate.
Today these are hard coded in the AggregationFuzzer itself, but whether or not we
support NaN/Infinity in fuzzing an aggregate function is more tightly tied to what we
are comparing against (in what cases it's compatible with Velox) which Fuzzer we're
running (as evidenced by the fact the Presto and Spark Aggregation Fuzzers are using
the same lists currently). We are seeing cases where fuzzing with the Presto Query
Runner is succeeding while fuzzing with the DuckDB Query Runner is failing.
To fix this I've moved the Aggregation Function Data Specs map into the Query
Runner, so that we can specify per Query Runner in what aggregation functions we
don't want to produce Nan/Infinity for.
Differential Revision: D64011761