Github user amansinha100 commented on a diff in the pull request:
https://github.com/apache/drill/pull/155#discussion_r39343781
--- Diff:
common/src/main/java/org/apache/drill/common/expression/SchemaPath.java ---
@@ -220,9 +214,6 @@ public boolean contains(Object obj) {
}
SchemaPath other = (SchemaPath) obj;
- if (rootSegment == null) {
--- End diff --
Are you sure rootSegment is not null ? If so, pls add an assert otherwise
the next statement could potentially hit NPE. Also what about other.rootSegment
? Should that be checked ?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---