Skip to content

Conversation

@gz
Copy link
Contributor

@gz gz commented Jun 27, 2025

Fixes #4239

@gz gz requested a review from mihaibudiu June 27, 2025 22:27
futures::executor::block_on(self.tx.send(bytes)).unwrap();
let tx = self.tx.clone();
let handle = TOKIO.spawn(async move { tx.send(bytes).await });
self.handles.push(handle);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks like magic. is Drop getting rid of some stuff?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No see flush implementation below, it's not used yet but the right way would be to wait on all the handles. I'll make an issue about this in arrow-rs

Signed-off-by: Gerd Zellweger <mail@gerdzellweger.com>
@gz gz force-pushed the fix-arrow-blocking branch from 12945bb to 0f2de46 Compare June 27, 2025 22:39
@gz gz added this pull request to the merge queue Jun 28, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 28, 2025
@gz gz added this pull request to the merge queue Jun 28, 2025
Merged via the queue into main with commit ce10001 Jun 28, 2025
2 checks passed
@gz gz deleted the fix-arrow-blocking branch June 28, 2025 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ad-hoc queries requests do not resolve when using HTTP API and arrow-ipc format

3 participants