Skip to main content

schema_preview

Function schema_preview 

Source
pub fn schema_preview(entry: &Entry) -> Option<SchemaPreview>
Expand description

Read a dataset’s column names and types without reading any data.

Parquet only — a CSV’s schema cannot be known without scanning it, and doing that for every row the cursor passes over would defeat the point of a preview. Returns None for anything else, and the UI says so rather than guessing.