Test upgrade to arrow 7.x with new prost/tonic#1283
Test upgrade to arrow 7.x with new prost/tonic#1283alamb wants to merge 3 commits intoapache:masterfrom
Conversation
|
When upgrading arrow only, the build fails like this |
|
When I also update (namely because
"Fixed" (worked around) in f2cfa38 |
|
|
||
| struct FlightDataStream { | ||
| stream: Streaming<FlightData>, | ||
| stream: Mutex<Streaming<FlightData>>, |
There was a problem hiding this comment.
this is needed because after tonic/prost upgrade FlightData is no longer Sync. There are perhaps better ways to handle this
|
@alamb let us know if you need help with the ballista change. |
|
Facing with the same issue while updating #68 with arrow2 version 0.8 and arrow-format 0.3, since the same breaking change was introduced in DataEngineeringLabs/arrow-format#2. Thanks @alamb I use your mutex way here as a workaround, please let me know if you have further great solutions.😄 |
|
I did some poking around a while back and was going to write up an issue, but got pulled away to other things. The problem is that SendableRecordBatchStream has a Sync constraint on it. I think this is just a mistake in DataFusion, I can't see a compelling reason that being able to share immutable references to streams across threads is important, especially when stream consumption requires &mut. This would, however, be a fairly annoying breaking change to DataFusion and I wanted to provide more context before filing a ticket, but ran out of time |
|
Included in #1523 |
Rationale for this change
Test what would happen if we upgraded
prostandtonicdependencies in the arrow-rs 6.x line (aka what would happen if we merged apache/arrow-rs#945)?What changes are included in this PR?
temporarily override arrow to use apache/arrow-rs#945
Are there any user-facing changes?
No