paul-rogers opened a new pull request #1922: DRILL-7476: Set lastSet on 
TransferPair copies
URL: https://github.com/apache/drill/pull/1922
 
 
   Variable-width nullable vectors maintain a "lastSet" field in the mutator. 
This field is used in "fill empties" logic when setting the vector's value 
count. This is true even if the vector is read-only, or has been transferred 
from another (read-only) vector. LastSet must be set to the row count or the 
code will helpfully overwrite existing offsets with 0.
   
   Added batch validation code to catch this problem should it happen again.
   
   Includes minor code cleanup in files visited during debugging.

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


With regards,
Apache Git Services

Reply via email to