rdblue commented on code in PR #9359: URL: https://github.com/apache/iceberg/pull/9359#discussion_r1439988090
########## core/src/main/java/org/apache/iceberg/encryption/StandardEncryptionManager.java: ########## @@ -67,7 +72,15 @@ public InputFile decrypt(EncryptedInputFile encrypted) { @Override public Iterable<InputFile> decrypt(Iterable<EncryptedInputFile> encrypted) { // Bulk decrypt is only applied to data files. Returning source input files for parquet. - return Iterables.transform(encrypted, this::decrypt); + if (nativeDataEncryption) { Review Comment: There is no way to know the intended file format or whether it will use native encryption at this point. I think this needs to always return the result of `decrypt`. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org