Github user vdiravka commented on a diff in the pull request:

    https://github.com/apache/drill/pull/877#discussion_r128503448
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java
 ---
    @@ -723,19 +723,20 @@ private void init(MetadataContext metaContext) throws 
IOException {
             // if querying a single file we can look up the metadata directly 
from the file
             metaPath = new Path(p, Metadata.METADATA_FILENAME);
           }
    -      if (metaPath != null && fs.exists(metaPath)) {
    +      if (metaPath != null && fs.exists(metaPath) && 
Metadata.MetadataVersion.isVersionSupported(fs, metaPath)) {
    --- End diff --
    
    Agree. Thanks. 
    Tthis code is deleted in context of other comment. 


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