nathanielc commented on issue #5733:
URL: https://github.com/apache/arrow-rs/issues/5733#issuecomment-2625695920

   I have the same use case. I am using 
https://github.com/datafusion-contrib/datafusion-functions-json and the 
arrow_json writer. Would adding support for encoding unions to the arrow_json 
be sufficient?
   
   I imagine it would be an untagged union and just flatten away the union 
itself. As the json functions repo produces a Sparse union that would work well 
for that case. We could either error for Dense unions like we do today or agree 
on a way to flatten the union adding explicit nulls. 
   
   Thoughts? I could put up a PR for sparse unions if we agree its a good 
solution. 


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