Github user parthchandra commented on a diff in the pull request:
https://github.com/apache/drill/pull/723#discussion_r98288225
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/columnreaders/ParquetRecordReader.java
---
@@ -197,6 +213,21 @@ public ParquetRecordReader(
assert (numRecordsToRead >= 0);
this.numRecordsToRead = Math.min(numRecordsToRead,
footer.getBlocks().get(rowGroupIndex).getRowCount());
}
+ useAsyncColReader =
+
fragmentContext.getOptions().getOption(ExecConstants.PARQUET_COLUMNREADER_ASYNC).bool_val;
--- End diff --
Which sort of does the same thing after several function calls. Seems a
waste. Plus you have to cast the option validator to the right type.
Mind if I leave it as it is?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---