pub fn record_batch_with_timestamps(
schema: Arc<Schema>,
columns: Vec<ArrayRef>,
) -> Result<RecordBatch, ArrowError>Expand description
Builds a record batch, converting unsigned nanosecond inputs for timestamp schema fields.
This keeps model encoders simple while ensuring their public Arrow batches use logical timestamp columns.
ยงErrors
Returns an [ArrowError] when a timestamp exceeds the signed Arrow range or the batch is
otherwise invalid.