vvysotskyi commented on a change in pull request #1614: DRILL-6962: Function 
coalesce returns an Error when none of the columns in coalesce exist in a 
parquet file
URL: https://github.com/apache/drill/pull/1614#discussion_r249408443
 
 

 ##########
 File path: 
exec/vector/src/main/java/org/apache/drill/exec/vector/UntypedNullVector.java
 ##########
 @@ -125,7 +124,9 @@ public TransferPair makeTransferPair(ValueVector to) {
     return new TransferImpl((UntypedNullVector) to);
   }
 
-  public void transferTo(UntypedNullVector target) { }
+  public void transferTo(UntypedNullVector target) {
+    target.valueCount = valueCount;
 
 Review comment:
   Please also set `this.valueCount = 0;` here or add it to `reset()` method 
and call it from this one.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to