pub fn default_ipc_fields(fields: &[Field]) -> Vec<IpcField> {
    let mut dictionary_id = 0i64;
    fields
        .iter()
        .map(|field| default_ipc_field(field.data_type().to_logical_type(), &mut dictionary_id))
        .collect()
}
/// Assigns every dictionary field a unique ID
Assigns every dictionary field a unique ID
Assigns every dictionary field a unique ID
pub fn default_ipc_fields(fields: &[Field]) -> Vec<IpcField> {
    let mut dictionary_id = 0i64;
    fields
        .iter()
        .map(|field| default_ipc_field(field.data_type().to_logical_type(), &mut dictionary_id))
        .collect()
}
pub fn default_ipc_fields ( fields : & [ Field ] ) -> Vec < IpcField > { let mut dictionary_id = 0i64 ; fields . iter ( ) . map ( | field | default_ipc_field ( field . data_type ( ) . to_logical_type ( ) , & mut dictionary_id ) ) . collect ( ) }
Assigns every dictionary field a unique ID
Assigns every dictionary field a unique ID
fields
&[Field]
fields
&[Field]