Kaixuan-Duan commented on issue #3423:
URL: https://github.com/apache/fluss/issues/3423#issuecomment-4610407295

   @loserwang1024 Thanks for the feedback! Here's my proposed fix:
   
   1. No RPC proto change needed: The client already sends the expected 
projection indices.
   2. Server-side alignment: In `createProjectionInfo()`, we split 
`selectedFieldPositions` into existing fields and missing fields. Then in 
`projectSingleBatch()`, we reconstruct the Arrow batch by copying existing 
vectors and generating all-NULL Arrow vectors for the missing columns at their 
correct target positions.


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