-
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
Remove InMemoryTableScanExec support for Spark 3.5+ [databricks] #10602
Conversation
Signed-off-by: Raza Jafri <rjafri@nvidia.com>
Instead of removing it, and we just have it be off by default in 3.5.x, until we get a fix into Spark? That lets us and customers experiment with it. It also makes it so that we can run tests on it and see if they are mostly working or not. |
The only thing I don't like about this implementation is that the GPU plan will show
which is the default message we print when an Exec isn't supported. If others also think this should be improved then I can add an override in the shim which always returns with an error message with more info about why we aren't supporting it by calling the |
if you use disabledByDefault it lets you put in a comment about why it is disabled. |
I like this approach better as it has less code churn. We may have to resort to adding shims after we reenable it. |
I am using an unconventional way in this PR to avoid code duplication, I hope it's OK |
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.
I was not concerned with the shim code duplication. There are other things we can do to work around that. I was more concerned with the impact that there would be to tests and also our ability to try and work on getting this to work properly on 3.5.0.
Have you run the cache integration tests on 3.5.0? I have to assume that they are going to fail, unless we explicitly enable/disable the InMemoryTableScanExec replacement.
Yes, I did run them on 311 and 350 and they all passed. spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuTransitionOverrides.scala Line 635 in a56da0c
|
build |
This PR removes support for InMemoryTableScanExec from Spark-3.5+.
Changes
Tests
contributes towards #8678