pub fn prepare_migration_parts(
file: &PlannedMigrationFile,
batches: Vec<RecordBatch>,
) -> Result<Vec<PreparedMigrationPart>>Expand description
Resolves identifiers, re-encodes built-in batches with the current encoders, and groups batches from one source file.
ยงErrors
Returns an error if an identifier column is not string-like, a batch cannot be sliced or rebuilt with current identifier metadata, or a built-in batch fails its current decoder.