Ten0 commented on issue #4886:
URL: https://github.com/apache/arrow-rs/issues/4886#issuecomment-1894526732

   Heyy,
   
   Thanks for the quick answers.
   
   > it appears to rely on knowing the data schema at compile time
   
   It doesn't 😊
   It goes through serde, but that also works with unknown structure: for 
example you can convert any avro with dynamic schema to json (and vice versa) 
just by plugging them via `serde_transcode`.
   It seems that the main idea would be to have a custom implementation of 
[`DeserializeSeed`](https://docs.rs/serde/latest/serde/de/trait.DeserializeSeed.html)
 for arrow records 🤔
   (Most likely that would also enable plugging any serde format pretty easily 
afterwards as well since you could likely plug any deserializer (except maybe 
you'd want to read the schema in advance, but maybe it's not even necessary if 
you determine the structure as you receive the first records).) 


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