JeonDaehong opened a new pull request, #1483:
URL: https://github.com/apache/paimon-rust/pull/1483

   ### Purpose
   
   Linked issue: close #1482
   
   A decoded Lookup payload was charged once per column against the memory 
budget, so lookup compaction of wide tables failed with `Decoded Lookup IPC 
exceeds the memory budget` although the payload was far below it.
   
   ### Brief change log
   
   - Charge the decoded payload by the slices its columns use 
(`get_slice_memory_size`) instead of each column's whole backing buffer.
   
   With the fix, the repro in the issue (66 BIGINT columns, 500k keys) 
completes its second compaction with `changelog-producer = lookup` and with 
deletion vectors.
   
   ### Tests
   
   - `wide_payload_within_the_budget_is_read_back`: a 63-column, 256-row 
payload under a 2 MB budget is written and looked up. It fails on main with the 
error above.
   
   Ran the ci.yml steps locally (fmt, clippy, msrv, unit, rest-server, 
integration, datafusion, python, go).
   
   ### API and Format
   
   None.
   
   ### Documentation
   
   None.
   


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