[ 
https://issues.apache.org/jira/browse/DRILL-8296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

PJ Fanning updated DRILL-8296:
------------------------------
    Description: 

{code:java}
      if (path.nameEquals("**")) {
        return true;
      } else {
        return specialFields.contains(path.getAsNamePart());
      }
{code}


LGTM and IntelliJ both say that NamePart type does not match the type stored in 
specialFields collection.

  was:
```
      if (path.nameEquals("**")) {
        return true;
      } else {
        return specialFields.contains(path.getAsNamePart());
      }
```

LGTM and IntelliJ both say that NamePart type does not match the type stored in 
specialFields collection.


> possible type bug in SplunkBatchReader
> --------------------------------------
>
>                 Key: DRILL-8296
>                 URL: https://issues.apache.org/jira/browse/DRILL-8296
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: splunk
>            Reporter: PJ Fanning
>            Priority: Major
>
> {code:java}
>       if (path.nameEquals("**")) {
>         return true;
>       } else {
>         return specialFields.contains(path.getAsNamePart());
>       }
> {code}
> LGTM and IntelliJ both say that NamePart type does not match the type stored 
> in specialFields collection.



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

Reply via email to