-
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
Decouple AggregationFuzzer from DuckDB #6701
Decouple AggregationFuzzer from DuckDB #6701
Conversation
✅ Deploy Preview for meta-velox canceled.
|
@mbasmanova has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
*/ | ||
#pragma once | ||
|
||
#include "velox/exec/tests/utils/QueryAssertions.h" |
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.
Consider moving this include to the DuckQueryRunner.cpp
file.
You must forward-declare or use only the required std headers.
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 reason is that when you build the PrestoQueryRunner later, this include
will enforce a dependency on DuckDB.
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.
@majetideepak These are good points. Thanks. Updated.
e77fba3
to
cf857c7
Compare
@mbasmanova has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
c860e86
to
b0b1af9
Compare
b0b1af9
to
f9d7e3e
Compare
@mbasmanova has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
f9d7e3e
to
50ee13a
Compare
@mbasmanova has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
50ee13a
to
efe0994
Compare
@mbasmanova 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.
@mbasmanova Looks great. Thanks!
return true; | ||
} | ||
|
||
std::unordered_set<std::string> getAggregateFunctions() { |
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.
Nice!
Summary: Extract ReferenceQueryRunner interface to allow using different reference databases for results verification in AggregationFuzzer. For example, we would want to verify Presto functions against Presto and Spark functions against Spark. Part of facebookincubator#6595 Reviewed By: xiaoxmeng Differential Revision: D49553797 Pulled By: mbasmanova
efe0994
to
9bb7b8c
Compare
This pull request was exported from Phabricator. Differential Revision: D49553797 |
@mbasmanova merged this pull request in cdfcd93. |
Conbench analyzed the 1 benchmark run on commit There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
Summary: Extract ReferenceQueryRunner interface to allow using different reference databases for results verification in AggregationFuzzer. For example, we would want to verify Presto functions against Presto and Spark functions against Spark. Part of facebookincubator#6595 Pull Request resolved: facebookincubator#6701 Reviewed By: xiaoxmeng Differential Revision: D49553797 Pulled By: mbasmanova fbshipit-source-id: 489cd41ce4276c2d1d5230780f76439a39e70456
Extract ReferenceQueryRunner interface to allow using different reference
databases for results verification in AggregationFuzzer. For example, we would
want to verify Presto functions against Presto and Spark functions against
Spark.
Part of #6595