scovich commented on PR #9092:
URL: https://github.com/apache/arrow-rs/pull/9092#issuecomment-3712133038

   > DataFusion moves `RecordBatch`es between nodes, which contain dynamic `dyn 
Array`s, that was my means of transportation.
   > 
   > Not saying that the change in this PR does not make sense though, I 
believe it does, but I wonder what could be the alternative. Maybe letting 
DataFusion be the one that exposes a customizable trait for transporting data?
   
   Could it pass `ArrayData` instead? Should be easy enough to do e.g. 
`StructArray::from(recordBatch).into_data()` and then 
`RecordBatch::from(StructArray::from(arrayData))`?


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