rdblue commented on a change in pull request #828:
URL: https://github.com/apache/iceberg/pull/828#discussion_r434916301
##########
File path: spark/src/main/java/org/apache/iceberg/spark/source/Reader.java
##########
@@ -145,6 +154,14 @@
this.io = io;
this.encryptionManager = encryptionManager;
this.caseSensitive = caseSensitive;
+
+ boolean enableBatchReadsConfig =
+
options.get("iceberg.read.parquet-vectorization.enabled").map(Boolean::parseBoolean).orElse(true);
+ if (!enableBatchReadsConfig) {
+ enableBatchRead = Boolean.FALSE;
+ }
+ Optional<String> numRecordsPerBatchOpt =
options.get("iceberg.read.parquet-vectorization.batch-size");
Review comment:
I included this change in the PR against your branch.
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]