lance_file::reader

Function read_batch

Source
pub async fn read_batch(
    reader: &FileReader,
    params: &ReadBatchParams,
    schema: &Schema,
    batch_id: i32,
) -> Result<RecordBatch>
Expand description

Read a batch.

schema may only be empty if with_row_id is also true. This function panics otherwise.