Skip to main content

Module table_stream

Module table_stream 

Source
Expand description

Cross a table function’s yields into the engine’s batches.

Functions§

table_stream
What iterable (what the table function request reads returned or yields) yields, as the engine’s batches: dicts, Arrow data, sl.json/sl.ndjson, sl.http jobs and sl.checkpoints cross as SQLLoad’s own tables’ do, with the table’s flatten, naming, masked columns, cursor and connections from request. snapshot, for a logged table, returns its ctx.state as JSON as each piece crosses. Fails when this interpreter’s sqlload_api is not this crate’s version.