Github user ppadma commented on a diff in the pull request: https://github.com/apache/drill/pull/597#discussion_r80754060 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java --- @@ -899,6 +907,16 @@ public FileGroupScan clone(FileSelection selection) throws IOException { 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); + newScan.modifyFileSelection(selection); + newScan.cacheFileRoot = selection.cacheFileRoot; --- End diff -- yes, we can. will do.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---