Expand description
Start reading a table generator into Arrow.
Functions§
- table_
batches - Read
iterable(a table function’s generator) on a background thread (callingsnapshot, when given, forctx.stateas each piece crosses), batching dict yields, and parse what it yields into Arrow on others, expanding the objectscontextlists to flatten and runningsl.httpjobs with its connections; at mostoptions.max_queued + options.parse_threadsbatches wait between them and the consumer, so the generator pauses when the consumer falls behind.