Github user ppadma commented on a diff in the pull request:
https://github.com/apache/drill/pull/749#discussion_r102725896
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/columnreaders/ParquetRecordReader.java
---
@@ -376,14 +378,14 @@ public void setup(OperatorContext operatorContext,
OutputMutator output) throws
if (dataTypeLength == -1) {
allFieldsFixedLength = false;
} else {
- bitWidthAllFixedFields += dataTypeLength;
+ bitWidthAllFixedFields += dataTypeLength;
}
}
// rowGroupOffset =
footer.getBlocks().get(rowGroupIndex).getColumns().get(0).getFirstDataPageOffset();
if (columnsToScan != 0 && allFieldsFixedLength) {
recordsPerBatch = (int) Math.min(Math.min(batchSize /
bitWidthAllFixedFields,
- footer.getBlocks().get(0).getColumns().get(0).getValueCount()),
65535);
+ footer.getBlocks().get(0).getColumns().get(0).getValueCount()),
DEFAULT_RECORDS_TO_READ_IF_VARIABLE_WIDTH);
--- End diff --
This is DEFAULT_RECORDS_TO_READ_FIXED_WIDTH (not VARIABLE)
---
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.
---