rdblue commented on a change in pull request #14: Pluggable file I/O submodule 
in TableOperations
URL: https://github.com/apache/incubator-iceberg/pull/14#discussion_r240439930
 
 

 ##########
 File path: data/src/main/java/com/netflix/iceberg/data/TableScanIterable.java
 ##########
 @@ -125,7 +125,10 @@ public void close() throws IOException {
     private Iterator<Record> currentIterator = emptyIterator();
 
     private ScanIterator(Iterable<CombinedScanTask> tasks) {
-      this.tasks = Lists.newArrayList(concat(transform(tasks, 
CombinedScanTask::files))).iterator();
+      this.tasks = StreamSupport.stream(tasks.spliterator(), false)
 
 Review comment:
   I think this is an unrelated change.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to