Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Which Delta project/connector is this regarding?
Description
The AWS SDK for Java 1.x is being deprecated will enter maintenance mode on July 31, 2024. The end-of-support is effective December 31, 2025 (Official Announcement Link).
To address the sdk deprecation, we’ll need to upgrade AWS SDK Java 1.x to AWS SDK Java 2.x.
SDK v2 is a major rewrite of the version 1.x code base. For detailed differences, please refer to What's different between the AWS SDK for Java 1.x and 2.x.
List of files in delta main branch that are currently leveraging AWS SDK v1 APIs. These are the files that we need to update for this upgrade.
How was this patch tested?
Unit Test
build/sbt storageS3DynamoDB/test
: passedbuild/sbt storage/test
: passedbuild/sbt spark/'testOnly org.apache.spark.sql.delta.coordinatedcommits.*'
passedS3 LogStore Integration Test
Manual Testing
Does this PR introduce any user-facing changes?
Yes, users will need to specify the SDK V2 credential provider instead of SDK V1 for delta configurations
Ex:
io.delta.storage.credentials.provider=com.amazonaws.auth.profile.ProfileCredentialsProvider
->software.amazon.awssdk.auth.credentials.ProfileCredentialsProvider
Closes: #3556