drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vdiravka <...@git.apache.org>
Subject [GitHub] drill pull request #877: DRILL-5660: Drill 1.10 queries fail due to Parquet ...
Date Tue, 15 Aug 2017 12:20:22 GMT
Github user vdiravka commented on a diff in the pull request:

    https://github.com/apache/drill/pull/877#discussion_r133139901
  
    --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java
---
    @@ -974,8 +1005,17 @@ private int updateRowGroupInfo(long maxRecords) {
       public ParquetGroupScan clone(FileSelection selection) throws IOException {
         ParquetGroupScan newScan = new ParquetGroupScan(this);
         newScan.modifyFileSelection(selection);
    -    newScan.setCacheFileRoot(selection.cacheFileRoot);
    -    newScan.init(selection.getMetaContext());
    +    MetadataContext metaContext = selection.getMetaContext();
    +    if (metaContext == null) {
    +      metaContext = new MetadataContext();
    +    }
    +    if (newScan.usedMetadataCache) {
    --- End diff --
    
    `usedMetadataCache` isn't used anymore there.


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