drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amansinha100 <...@git.apache.org>
Subject [GitHub] drill pull request #519: DRILL-4530: Optimize partition pruning with metadat...
Date Wed, 13 Jul 2016 00:52:18 GMT
Github user amansinha100 commented on a diff in the pull request:

    --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java
    @@ -607,7 +607,14 @@ public long getRowCount() {
           fileSet = Sets.newHashSet(fileNames);
    -    if (fileNames.isEmpty()) {
    +    List<String> finalFileNames;
    +    if (fileSet != null) {
    +      finalFileNames = Lists.newArrayList(fileSet);
    --- End diff --
    Yes, I can try to keep only the fileSet and get rid of fileNames (although I would still
need the finalFileNames list since FileSelection only accepts a List, not a Set).

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message