pvary commented on PR #9464:
URL: https://github.com/apache/iceberg/pull/9464#issuecomment-1894176952

   I would prefer creating a well balanced writeLongUTF solution which would be 
a candidate to get into the Flink code later.
   
   I prefer your solution where you write out the length in a long instead of 2 
chars, but instead of reserving the whole byte array in advance, I would prefer 
to write out the data in 64k sized byte arrays (a sorter one at the end)
   
   Not sure about the read path. Maybe there is no way to optimize the reserved 
memory at that point, as we have to keep the Strings in memory anyways...
   
   @stevenzwu: any suggestions? 


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to