pub fn dictionary_encode_string_columns( schema: &SchemaRef, should_encode: impl FnMut(usize) -> bool, ) -> SchemaRef
Returns a schema that dictionary encodes selected UTF-8 columns.