-
Notifications
You must be signed in to change notification settings - Fork 242
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
[Spark 4.0] Account for PartitionedFileUtil.splitFiles
signature change.
#10857
[Spark 4.0] Account for PartitionedFileUtil.splitFiles
signature change.
#10857
Conversation
Fixes NVIDIA#10299. In Apache Spark 4.0, the signature of `PartitionedFileUtil.splitFiles` was changed to remove unused parameters (apache/spark@eabea643c74). This causes the Spark RAPIDS plugin build to break with Spark 4.0. This commit introduces a shim to account for the signature change. Signed-off-by: MithunR <[email protected]>
Build |
...n/spark341db/scala/org/apache/spark/sql/execution/rapids/shims/PartitionedFileUtilShim.scala
Outdated
Show resolved
Hide resolved
Signed-off-by: MithunR <[email protected]>
Build |
PartitionedFileUtil.splitFiles
signature change.PartitionedFileUtil.splitFiles
signature change.
...lugin/src/main/spark341db/scala/com/nvidia/spark/rapids/shims/PartitionedFileUtilsShim.scala
Show resolved
Hide resolved
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. Just update the copyrights on one file
Edit: Fixed. |
Build |
sql-plugin/src/main/spark350/scala/com/nvidia/spark/rapids/shims/PartitionedFileUtilsShim.scala
Outdated
Show resolved
Hide resolved
I've merged up to pull in #10933. |
build |
CI failed with |
build |
Ah, this PR is also failing CI on the following tangential problem:
#10945 should help. |
build |
Looks like this will need special handling for Databricks:
I'll get on this shortly. |
Barked up the wrong tree for a bit. This was only a missing import. Testing the fix now. |
Build |
This change has been merged. Thank you for the reviews, @razajafri, @NVnavkumar. |
…ange. (NVIDIA#10857) * Account for PartitionedFileUtil.splitFiles signature change. Fixes NVIDIA#10299. In Apache Spark 4.0, the signature of `PartitionedFileUtil.splitFiles` was changed to remove unused parameters (apache/spark@eabea643c74). This causes the Spark RAPIDS plugin build to break with Spark 4.0. This commit introduces a shim to account for the signature change. Signed-off-by: MithunR <[email protected]> * Common base for PartitionFileUtilsShims. Signed-off-by: MithunR <[email protected]> * Reusing existing PartitionedFileUtilsShims. * More refactor, for pre-3.5 compile. * Updated Copyright date. * Fixed style error. * Re-fixed the copyright year. * Added missing import. --------- Signed-off-by: MithunR <[email protected]>
Fixes #10299.
In Apache Spark 4.0, the signature of
PartitionedFileUtil.splitFiles
was changed to remove unused parameters (apache/spark@eabea643c74). This causes the Spark RAPIDS plugin build to break with Spark 4.0.This commit introduces a shim to account for the signature change.
fixes #10299