rdsr commented on a change in pull request #150: Close open manifests during 
scan planning.
URL: https://github.com/apache/incubator-iceberg/pull/150#discussion_r272000252
 
 

 ##########
 File path: api/src/main/java/org/apache/iceberg/io/CloseableIterable.java
 ##########
 @@ -53,8 +54,18 @@ public void close() {
     };
   }
 
-  static <E> CloseableIterable<E> combine(Iterable<E> iterable, 
Iterable<Closeable> closeables) {
-    return new CloseableGroup.ClosingIterable<>(iterable, closeables);
+  static <E> CloseableIterable<E> combine(Iterable<E> iterable, Closeable 
closeable) {
 
 Review comment:
   It seems `combine` can be implemented as `wrap` with an `Identity` function?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to