-
Notifications
You must be signed in to change notification settings - Fork 237
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
[BUG] GPU physical plan missing ReusedExchange
execs
#10005
Comments
Another maybe related issue is even for a Here is an example from query 56. The subquery contains the original |
This bug may be fixed by https://github.com/firestarman/spark-rapids/pull/16/files. |
@winningsix I am confused about the PR from @firestarman. Was it created to address this issue (#10004)? It was PRed and merged to @firestarman's private repo, is it going to be PRed against our regular repo?? |
That PR tried to address a customer issue on reused exchanges, and we wanted to verify it quickly so merged to my own repo. |
@rongou do you still see the issue after #10136 was merged as @firestarman suggests? |
Describe the bug
In an effort to improve the accuracy of the qualification tool, I'm trying to match up CPU and GPU execs in the physical plans from event logs for NDS queries, but they don't quite match up. One cause seems to be that the GPU plan for some queries has fewer
ReusedExchange
nodes. This causesSparkPlanGraph
to interpret the nodes and edges slightly differently between CPU and GPU, leading to a mismatch.Steps/Code to reproduce bug
Run NDS queries with the Spark RAPIDS plugin disabled and enabled, capture the event logs, and run something like these over the event logs:
They should show different counts.
Expected behavior
The GPU plan should have the same number of reused exchange execs.
Environment details (please complete the following information)
Additional context
Here are the final plans for query 24a (I removed the textual plan info to make it slightly easier to read).
cpu.txt
gpu.txt
The text was updated successfully, but these errors were encountered: