pub fn encode_records_partitioned<T: Serialize + Sync>(
schema: &Schema,
records: &[T],
) -> Result<Vec<Vec<u8>>, KineticaError>
Encodes records, partitioning the batch over threads (non-Arc version).
Same strategy as encode_arc_records_partitioned but for non-Arc records.