rdblue commented on code in PR #7844:
URL: https://github.com/apache/iceberg/pull/7844#discussion_r1430498570
##########
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:
@Heltman, we typically avoid system or environment config. A more
appropriate place for this is in the engine's config. Then it can pass that
configuration down. For example, Flink passes threadpools into the scan API
rather than using the common worker pool.
--
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]