Github user arina-ielchiieva commented on a diff in the pull request:

    https://github.com/apache/drill/pull/877#discussion_r132405399
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java
 ---
    @@ -268,11 +276,15 @@ private FileSelection expandIfNecessary(FileSelection 
selection) throws IOExcept
         // use the cacheFileRoot if provided (e.g after partition pruning)
         Path metaFilePath = new Path(cacheFileRoot != null ? cacheFileRoot : 
selectionRoot, Metadata.METADATA_FILENAME);
         if (!fs.exists(metaFilePath)) { // no metadata cache
    +      MetadataContext metaContext = selection.getMetaContext();
    +      if (metaContext != null) {
    +        // some metadata files are absent, but some are present (since 
metadata context was created)
    +        metaContext.isMetadataFilesMissingOrCorrupted = true;
    --- End diff --
    
    Please use setter & getter instead of direct assignment / access.


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

Reply via email to