You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "PJ Fanning (Jira)" <ji...@apache.org> on 2022/09/07 11:54:00 UTC

[jira] [Created] (DRILL-8299) type matching in MetadataContext

PJ Fanning created DRILL-8299:
---------------------------------

             Summary: type matching in MetadataContext
                 Key: DRILL-8299
                 URL: https://issues.apache.org/jira/browse/DRILL-8299
             Project: Apache Drill
          Issue Type: Improvement
            Reporter: PJ Fanning


The dirModifCheckMap used in this lookup is keyed using a HDFS Path instance, not a string, so this code is not going to work:


{code:java}
  public boolean getStatus(String dir) {
    if (dirModifCheckMap.containsKey(dir)) {
      return dirModifCheckMap.get(dir);
    }
    return false;
  }
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)