Github user jinfengni commented on a diff in the pull request:
https://github.com/apache/drill/pull/597#discussion_r81196419
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java
---
@@ -894,11 +910,21 @@ public GroupScan clone(List<SchemaPath> columns) {
public FileGroupScan clone(FileSelection selection) throws IOException {
ParquetGroupScan newScan = new ParquetGroupScan(this);
newScan.modifyFileSelection(selection);
- newScan.cacheFileRoot = selection.cacheFileRoot;
+ newScan.setCacheFileRoot(selection.cacheFileRoot);
newScan.init(selection.getMetaContext());
return newScan;
}
+ // clone to create new groupscan with new file selection and batchSize.
+ public ParquetGroupScan clone(FileSelection selection, int batchSize)
throws IOException {
+ ParquetGroupScan newScan = new ParquetGroupScan(this);
--- End diff --
Is it possible to share the code with the method in line 910 - 914?
---
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.
---