fn ensure_batch_schema<T>(
batch: &mut HollowBatch<T>,
shard_id: ShardId,
schema_id: SchemaId,
)Expand description
Ensure the given batch uses the given schema ID.
If the batch has no schema set, initialize it to the given one. If the batch has a schema set, assert that it matches the given one.