Macro record_batch

Source
macro_rules! record_batch {
    ($($col_name:expr => $slice:expr), + $(,)?) => { ... };
}
Expand description

Utility macro to simplify the creation of RecordBatch instances

ยงPanics

Will panic if the RecordBatch creation fails. This can occur if:

  • The lengths of the provided slices are not equal.
  • The to_array() method on any slice returns an error, indicating invalid data types or mismatched lengths.