Skip to main content

read_chunk

Function read_chunk 

Source
pub fn read_chunk(path: &Path) -> Result<Vec<SortEntry>, TilesError>
Expand description

Read all sort entries from a chunk file, in order.

This is a convenience for testing; the merge module uses ChunkReader for streaming reads.

§Errors

Returns an error if the run cannot be opened, is cut, damaged or of another layout.