timothyw553 commented on code in PR #19123:
URL: https://github.com/apache/iceberg/pull/19123#discussion_r4705919282
##########
arrow/src/main/java/org/apache/iceberg/arrow/vectorized/ArrowReader.java:
##########
@@ -361,7 +332,7 @@ public void close() throws IOException {
private InputFile getInputFile(FileScanTask task) {
Preconditions.checkArgument(!task.isDataTask(), "Invalid task type");
- return inputFiles.get(task.file().location());
+ return decryptor.getInputFile(task.file().location());
Review Comment:
looks like existing tests cover encrypted files and plaintext-only tables
separately, but not reading both from the same encrypted table. since this
change fixes the null key metadata path, could we add a regression test for
mixed encrypted and plaintext files (maybe in `EncryptedTableReadTestBase` in
#19119)?
--
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]