brancz commented on issue #20011:
URL: https://github.com/apache/datafusion/issues/20011#issuecomment-3817715889

   > when encoding nested scalars, seed DictionaryTracker by encoding the 
schema first, then encode the batch;
   > when decoding, reconstruct an IPC schema from the protobuf schema 
(round-trip through arrow-ipc) and use arrow_ipc::reader::read_dictionary to 
build dict_by_id before reading the record batch.
   
   That's pretty much exactly what flight does now as well, so I think this 
sounds good to me.


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