lance_testing::datagen

Function some_indexable_batch

Source
pub fn some_indexable_batch() -> impl RecordBatchReader
Expand description

Returns a batch of data that has a column that can be used to create an ANN index

The indexable column will be named “indexable” The batch will not be empty There will only be one batch

There are no other assumptions it is safe to make about the returned reader