forked from databricks/spark-redshift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`getPrefix` method on `Rule` [got deprecated](https://github.com/aws/aws-sdk-java/blob/355424771b951ef0066b19c3eab4b4356e270cf4/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/BucketLifecycleConfiguration.java#L145-L153) It seems that reponse on the wire was also changed so this method no longer returns the prefix even on older versions of AWS SDK (as the one used by this project). I've bumped the AWS SDK dependencies version and implemented the check using new visitor pattern. I am not sure it is the nicest scala code, but I think it works. Tests stil pass. I believe this fixes databricks#346.
- Loading branch information
1 parent
8adfe95
commit a8f3bae
Showing
2 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters