-
Notifications
You must be signed in to change notification settings - Fork 230
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
Add AQE unit tests #781
Add AQE unit tests #781
Conversation
Signed-off-by: Niranjan Artal <nartal@nvidia.com>
build |
One test failed:
@nartal1 I am assuming it worked for you locally. I ran into the same issue in my PR and I assume that the test is non-deterministic currently due to data sizes varying based on ordering. |
Yes @andygrove , you are correct. It worked for me locally with these configs. I was trying to change autobroadcastHashJoin threshold to smaller value to check if it works here. Do you have any other ideas which we could try? |
Signed-off-by: Niranjan Artal <nartal@nvidia.com>
build |
} | ||
|
||
private def checkNumLocalShuffleReaders( | ||
plan: SparkPlan, numShufflesWithoutLocalReader: Int = 0): Int = { |
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.
nit: numShufflesWithoutLocalReader
should be on a new line
Signed-off-by: Niranjan Artal <nartal@nvidia.com>
build |
Signed-off-by: Andy Grove <andygrove@nvidia.com>
disable compression in tests
build |
tests/src/test/scala/com/nvidia/spark/rapids/AdaptiveQueryExecSuite.scala
Outdated
Show resolved
Hide resolved
Changing it to WIP as one of the tests is failing in CI. Not able to easily repro it locally. |
Signed-off-by: Niranjan Artal <nartal@nvidia.com>
… aqe-port-tests Signed-off-by: Niranjan Artal <nartal@nvidia.com>
Signed-off-by: Niranjan Artal <nartal@nvidia.com>
build |
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.
LGTM
* Add AQE unit tests Signed-off-by: Niranjan Artal <nartal@nvidia.com> * Change broadcast threshold Signed-off-by: Niranjan Artal <nartal@nvidia.com> * addressed review comment Signed-off-by: Niranjan Artal <nartal@nvidia.com> * disable compression in tests Signed-off-by: Andy Grove <andygrove@nvidia.com> * remove failing test Signed-off-by: Niranjan Artal <nartal@nvidia.com> * remove parquet compression flag as it is not needed Signed-off-by: Niranjan Artal <nartal@nvidia.com> Co-authored-by: Andy Grove <andygrove@nvidia.com>
* Add AQE unit tests Signed-off-by: Niranjan Artal <nartal@nvidia.com> * Change broadcast threshold Signed-off-by: Niranjan Artal <nartal@nvidia.com> * addressed review comment Signed-off-by: Niranjan Artal <nartal@nvidia.com> * disable compression in tests Signed-off-by: Andy Grove <andygrove@nvidia.com> * remove failing test Signed-off-by: Niranjan Artal <nartal@nvidia.com> * remove parquet compression flag as it is not needed Signed-off-by: Niranjan Artal <nartal@nvidia.com> Co-authored-by: Andy Grove <andygrove@nvidia.com>
* Add AQE unit tests Signed-off-by: Niranjan Artal <nartal@nvidia.com> * Change broadcast threshold Signed-off-by: Niranjan Artal <nartal@nvidia.com> * addressed review comment Signed-off-by: Niranjan Artal <nartal@nvidia.com> * disable compression in tests Signed-off-by: Andy Grove <andygrove@nvidia.com> * remove failing test Signed-off-by: Niranjan Artal <nartal@nvidia.com> * remove parquet compression flag as it is not needed Signed-off-by: Niranjan Artal <nartal@nvidia.com> Co-authored-by: Andy Grove <andygrove@nvidia.com>
…IDIA#781) Signed-off-by: spark-rapids automation <70000568+nvauto@users.noreply.github.com> Signed-off-by: spark-rapids automation <70000568+nvauto@users.noreply.github.com>
Signed-off-by: Niranjan Artal nartal@nvidia.com
Porting few relevent unit tests from Spark. Adjusted the configs so that AQE kicks in.