We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68664d1 commit b3310baCopy full SHA for b3310ba
client/trino-jdbc/src/main/java/io/trino/jdbc/AsyncResultIterator.java
@@ -75,7 +75,7 @@ public class AsyncResultIterator
75
warningsManager.addWarnings(results.getWarnings());
76
for (List<Object> row : client.currentRows()) {
77
rowQueue.put(row);
78
- if (rowsProcessed++ % BATCH_SIZE == 0) {
+ if (++rowsProcessed == BATCH_SIZE) {
79
semaphore.release(rowsProcessed);
80
rowsProcessed = 0;
81
}
0 commit comments