Skip to content

Run df_from_arrow_stream_pointer on a dirty IO scheduler - #1170

Merged
akoutmos merged 1 commit into
elixir-explorer:mainfrom
pnezis:dirty-io-arrow-stream
Nov 15, 2026
Merged

akoutmos merged 1 commit into
elixir-explorer:mainfrom
pnezis:dirty-io-arrow-stream

Conversation

@pnezis

@pnezis pnezis commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

The NIF pulls every batch from the Arrow C stream and stacks them into one DataFrame. When the stream comes from an ADBC driver, each pull can fetch result chunks over the network, so a large query keeps the NIF running for minutes on a normal scheduler, which stalls every other process on it.

In our case a large Snowflake query blocked a scheduler for 5–10 minutes.

The NIF pulls every batch from the Arrow C stream and stacks them into one
`DataFrame`. When the stream comes from an ADBC driver, each pull can fetch
result chunks over the network, so a large query keeps the NIF running for
minutes on a normal scheduler, which stalls every other process on it.
@akoutmos

akoutmos commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Your changes look good to me! CI got some updates, so this should pass once it is merged in.

@akoutmos
akoutmos merged commit 5be79a6 into elixir-explorer:main Nov 15, 2026
2 of 4 checks passed
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.

2 participants