sunchao commented on PR #5560:
URL: 
https://github.com/apache/datafusion-comet/pull/5560#issuecomment-5655788733

   Thanks @peterxcli, this looks like a useful follow-up. Keeping dictionaries 
in IPC is feasible with the existing direct `MessageSerializer` path and could 
reduce transport bytes and JVM decoding allocations.
   
   For this PR, I'd keep the JVM-side decoding so the fix works with existing 
Spark Python workers. Moving decoding to Python would also require worker 
integration to split before decoding and preserve vanilla Spark's input types 
before user code or pandas conversion, plus dictionary ID/update handling 
across batches. It moves the bounded-decoding work rather than eliminating it.
   
   I opened [#5906](https://github.com/apache/datafusion-comet/issues/5906) to 
track that improvement, including compatibility and lifetime tests and 
benchmarks of transport volume, JVM/Python peak memory, and throughput against 
this implementation.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to