zhanggougou commented on PR #6136:
URL: https://github.com/apache/seatunnel/pull/6136#issuecomment-1879626994

   > Hi @zhanggougou , thanks for contribute this. Could you explain the reason 
of change?
   
   you can see this issue https://github.com/apache/seatunnel/issues/6089
   when 【buffer.position() + byteData.length > buffer.capacity()】,a new 
MappedByteBuffer will generate,but last MappedByteBuffer also has some space 
,because the bufferSize is fixed
   
   so i compute fileChannel.position,when buffer is not enough,the next will 
continue previous position,so the local_data will not contains unnecessary 
<0x00>
   
   Is my problem?but when i fixed it,i succesed transfer data 【OR higher 
version ck local can ignore <0x00>?】
   
   Looking forward to your reply,thanks


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