Skip to main content

open_self_described_reader

Function open_self_described_reader 

Source
pub async fn open_self_described_reader(
    scheduler: FileScheduler,
    decoder_plugins: Arc<DecoderPlugins>,
    cache: &LanceCache,
    options: FileReaderOptions,
) -> Result<OpenedFileReader>
Expand description

Open a self-described file and dispatch to the matching reader.

The current-format reader’s optimistic tail read is also used for exact version detection, so current files do not pay for a separate footer probe.