Module exec

Module exec 

Source
Expand description

Simple iterator over batches for use in testing

Structsยง

BarrierExec
A Mock ExecutionPlan that does not start producing input until a barrier is called
BatchIndex
Index into the data that has been returned so far
BlockingExec
Execution plan that emits streams that block forever.
BlockingStream
A RecordBatchStream that is pending forever.
ErrorExec
A mock execution plan that errors on a call to execute
MockExec
A Mock ExecutionPlan that can be used for writing tests of other ExecutionPlans
PanicExec
Execution plan that emits streams that panics.
PanicStream ๐Ÿ”’
A RecordBatchStream that yields every other batch and panics after batches_until_panic batches have been produced.
StatisticsExec
A mock execution plan that simply returns the provided statistics
TestStream
Iterator over batches

Functionsยง

assert_strong_count_converges_to_zero
Asserts that the strong count of the given Weak pointer converges to zero.
clone_error ๐Ÿ”’