[PLUGIN-1717]: Added implementation for openFile and openFileWithOptions #1543
+95
−25
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.
Fix encrypted file reader for DP 2.1 and above
Bug Tracker
PLUGIN-1717
Description
Currently the file read on 2.1, 2.2 produces garbage binary data when reading an encrypted file, this is caused as new Hadoop version uses different file open methods.
This PR overrides the new file open method used and extend the decryption logic being used.
Code change
Tests
Meta
Test Case [100 - Ephemeral]
Test Case [100K - Ephemeral]
Test Case [100 - DP2.0]
Test Case [100K - DP2.0]
Test Case [100 - DP2.1]
Test Case [100K - DP2.1]
Test Case [100 - DP2.2]
Test Case [100K - DP2.2]