liukun4515 commented on PR #2968:
URL: 
https://github.com/apache/arrow-datafusion/pull/2968#issuecomment-1196840689

   @comphead  Thanks for your contribution.
   But I'm confuse about the method to fix this issue.
   
   For binary and utf8, we need to write the `offset and size` before the data, 
why not update the `new_width` using `to.current_width() + s.as_bytes().len() + 
8`.
   The 8 is the size of `offset and size` which is encoded as a u64.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to