> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# encode_records_partitioned

> encode_records_partitioned — Kinetica Rust API

[gpudb\_api](https://docs.kinetica.com/content/api/rust/index.md)::<wbr />[avro](https://docs.kinetica.com/content/api/rust/avro/index.md)
[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/avro.rs#L320-L358)&#x20;

<pre>`pub fn encode_records_partitioned<T: Serialize + Sync>(    schema: &Schema,    records: &[T],) -> Result<Vec<Vec<u8>>, KineticaError>`</pre>

Encodes records, partitioning the batch over threads (non-Arc version).Same strategy as `encode_arc_records_partitioned` but for non-Arc records.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.