Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
I've found the following code smell in recent github snapshot.
Path: exec/java-exec/src/main/java/org/apache/drill/exec/expr/EqualityVisitor.java
287 288 @Override 289 public Boolean visitNullConstant(TypedNullConstant e, LogicalExpression value) throws RuntimeException { 290 if (!(value instanceof TypedNullConstant)) { 291 return false; 292 } 293 return e.getMajorType().equals(e.getMajorType()); 294 } 295
Should it be like this?
292 }
293 return value.getMajorType().equals(e.getMajorType());
294 }
Attachments
Issue Links
- links to