anoopj commented on code in PR #18884:
URL: https://github.com/apache/iceberg/pull/18884#discussion_r4543164429


##########
core/src/main/java/org/apache/iceberg/FilePlanner.java:
##########
@@ -163,6 +170,14 @@ CloseableIterable<FileScanTask> planFiles() {
     return CloseableIterable.transform(dataFiles, this::createTask);
   }
 
+  private static void rejectColumnFiles(TrackedFile entry) {
+    List<ColumnFile> columnFiles = entry.columnFiles();
+    if (columnFiles != null && !columnFiles.isEmpty()) {

Review Comment:
   Yes, it is `null` when the field is absent. The `!isEmpty()` is as an extra 
defense: an empty list means no column files, so that file should read fine. 



-- 
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]

Reply via email to