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

   The split/FileScanTask should only contain ASCII. The other alternative is 
to get the byte array (UTF-8) from String. I am not too concerned about the 
performance if this is only applied to strings longer than 64 KB.
   ```
   public byte[] getBytes(String charsetName)
   ```
   
   I don't quite agree with the current implementation as it writes 2 bytes for 
every char. It will double the size/bytes. We are hurting the common scenarios 
to address this corner cases.
   


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