pub fn prepare_custom_data_batch(
data: &[&CustomData],
) -> Result<(RecordBatch, String, Option<String>, UnixNanos, UnixNanos)>Expand description
Prepares a batch of custom data for writing: encodes to Arrow, augments with data_type column,
and returns type identity and timestamp range so the catalog can build path and perform I/O.
ยงErrors
Returns an error if encoding or augmentation fails, if the type is not registered, or if the
registered Arrow schema omits ts_init or carries timestamps the catalog cannot query.