pub fn encode_frame( schema: &Arc<Schema>, batch: &RecordBatch, ) -> Result<Vec<u8>>
Serialize one push as a self-contained Arrow IPC stream frame.