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

    https://github.com/apache/drill/pull/1232#discussion_r184004929
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/ScanBatch.java 
---
    @@ -409,7 +409,7 @@ public void clear() {
     
           // Check if the field exists.
           ValueVector v = fieldVectorMap.get(field.getName());
    -      if (v == null || v.getClass() != clazz) {
    +      if (v == null || !v.getField().getType().equals(field.getType())) {
    --- End diff --
    
    Thanks, added a comment with the explanation.


---

Reply via email to