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