ggershinsky commented on code in PR #6762:
URL: https://github.com/apache/iceberg/pull/6762#discussion_r1322559170
##########
spark/v3.4/spark/src/main/java/org/apache/iceberg/spark/source/BaseReader.java:
##########
@@ -179,23 +179,27 @@ protected InputFile getInputFile(String location) {
private Map<String, InputFile> inputFiles() {
if (lazyInputFiles == null) {
- Stream<EncryptedInputFile> encryptedFiles =
-
taskGroup.tasks().stream().flatMap(this::referencedFiles).map(this::toEncryptedInputFile);
-
- // decrypt with the batch call to avoid multiple RPCs to a key server,
if possible
- Iterable<InputFile> decryptedFiles =
table.encryption().decrypt(encryptedFiles::iterator);
+ Stream<InputFile> inputFiles =
+
taskGroup.tasks().stream().flatMap(this::referencedFiles).map(this::toInputFile);
Review Comment:
I'll revert the changes in this class, and move the native decryption logic
to the StandardEncryptionManager class.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]