Expand description
SQL query execution via Apache DataFusion.
Structsยง
- Channel
Partition ๐Stream - A channel-backed partition is single-execution because receiving consumes its input. Plans that scan it more than once return an execution error.
Enumsยง
- Input
Receiver ๐
Functionsยง
- async_
record_ batch_ channel - Creates a bounded, executor-friendly input channel for async SQL queries.
- collect_
with_ ๐empty_ batch - execute_
sql - Synchronously executes SQL against in-memory Arrow batches.
- execute_
sql_ ๐and_ write_ from_ input_ async - execute_
sql_ and_ write_ stream - Synchronously streams SQL output directly to a configured writer.
- execute_
sql_ and_ write_ stream_ async - Asynchronously writes each SQL output batch as soon as DataFusion produces it. Plans that scan the channel-backed table more than once are unsupported.
- execute_
sql_ async - Executes SQL asynchronously against in-memory Arrow batches.
- execute_
sql_ ๐from_ input_ async - execute_
sql_ stream - Synchronously executes SQL from a single-use channel of Arrow batches.
- execute_
sql_ stream_ async - Asynchronously executes SQL from a single-use channel of Arrow batches.
- read_
sql_ file - Reads and validates a SQL query file.
- record_
batch_ channel - Creates a bounded input channel for streaming SQL queries.
- runtime ๐
- streaming_
context ๐
Type Aliasesยง
- Async
Record Batch Receiver - Async receiving half of a streaming SQL input channel.
- Async
Record Batch Sender - Async sending half of a streaming SQL input channel.
- Record
Batch Receiver - Error-aware Arrow batch receiver used by streaming SQL queries.
- Record
Batch Sender - Sending half of a streaming SQL input channel.