Github user amansinha100 commented on a diff in the pull request:
https://github.com/apache/drill/pull/371#discussion_r52558347
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java
---
@@ -791,6 +799,43 @@ public FileGroupScan clone(FileSelection selection)
throws IOException {
}
@Override
+ public GroupScan applyLimit(long maxRecords) {
--- End diff --
Suppose the query has LIMIT 1000 and the first set of row groups considered
by this rule have a small row count, then in the worst case there could be 1000
files, whereas a single larger file may be sufficient to meet the limit. Is
that something we should consider here ?
---
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.
---