liangjie3138 opened a new issue, #9373:
URL: https://github.com/apache/paimon/issues/9373

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/paimon/issues) 
and found nothing similar.
   
   
   ### Motivation
   
   PersistPositionProcessor only persists row positions and never reads the row 
value, but the reader passed to LookupLevels is not projected accordingly. As a 
result, createSstFileFromDataFile reads and decompresses all value columns only 
to discard them.
   For tables with large columns, this adds unnecessary memory pressure during 
compaction.
   
   ### Solution
   
   Project the value type away for PersistPositionProcessor, as the first-row 
path already does.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


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