etseidl commented on issue #7909:
URL: https://github.com/apache/arrow-rs/issues/7909#issuecomment-3070546348

   IIRC, this is actually a limitation of the rust thrift generator. An 
undefined union field will panic. It used to have a similar problem with 
undefined enum values, but that was fixed (see 
https://issues.apache.org/jira/browse/THRIFT-5314?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel&focusedCommentId=17235158).
   
   I was struggling with this while trying to implement a new sort order for 
floats (#7408). Files written with the new sort order would panic while trying 
to parse the thrift.
   
   I guess we could bring this up with the thrift devs, but also adds 
ammunition to writing our own thrift parsing (this was brought up in 
https://www.influxdata.com/blog/how-good-parquet-wide-tables/)
   
   cc @alamb @XiangpengHao 


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to