Heltman commented on code in PR #7844:
URL: https://github.com/apache/iceberg/pull/7844#discussion_r1430860065


##########
core/src/main/java/org/apache/iceberg/util/ParallelIterable.java:
##########
@@ -53,7 +57,8 @@ public CloseableIterator<T> iterator() {
     private final Iterator<Runnable> tasks;
     private final ExecutorService workerPool;
     private final Future<?>[] taskFutures;
-    private final ConcurrentLinkedQueue<T> queue = new 
ConcurrentLinkedQueue<>();
+    private final LinkedBlockingQueue<T> queue =
+        new LinkedBlockingQueue<>(MANIFEST_READER_QUEUE_SIZE);

Review Comment:
   How I pass a threadpools to iceberg from trino. Trino only use `plan()` to 
get FileScanTask



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

Reply via email to