drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppadma <...@git.apache.org>
Subject [GitHub] drill pull request #597: DRILL-4905: Push down the LIMIT to the parquet read...
Date Tue, 27 Sep 2016 20:37:22 GMT
Github user ppadma commented on a diff in the pull request:

    https://github.com/apache/drill/pull/597#discussion_r80788614
  
    --- 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 --
    
    done


---
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.
---

Mime
View raw message