Skip to main content

text_schema

Function text_schema 

Source
pub fn text_schema(schema: &Arc<Schema>, as_text: &[PlSmallStr]) -> Arc<Schema> ⓘ
Expand description

schema with every column in as_text spelled as text.

For a caller to say what it now holds — lenient_scan does not need it, since a run is read at its own files’ types and the cast decides the result’s. The columns keep their places: a column that moved when it was read differently would be a second change the user did not ask for.