tsreaper opened a new pull request, #6256:
URL: https://github.com/apache/paimon/pull/6256

   ### Purpose
   
   `map<string, string>` is a useful data type in many tables. However, current 
`map<string, string>` in Paimon avro is slow, because Paimon reader decodes it 
into `HashMap`s.
   
   This PR optimizes `map<string, string>` by storing the original bytes from 
avro, so in scenarios like compacting, where we don't care about the exact 
values of a row, we don't need to pay the decoding and encoding costs. When the 
exact value is needed, these bytes will be decoded into `BinaryArray`s.
   
   ### Tests
   
   * `FormatReadWriteTest`
   
   ### API and Format
   
   No format changes.
   
   ### Documentation
   
   No new feature.
   


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