pub struct CatalogMigrationReport {
pub dry_run: bool,
pub total_leaf_files: usize,
pub migrated_files: usize,
pub skipped_files: usize,
pub migrated_rows: usize,
pub transcoded_rows: usize,
pub path_identifier_rows: usize,
pub unmigrated: Vec<UnmigratedFile>,
pub types: BTreeMap<String, CatalogMigrationTypeReport>,
}Expand description
Structured result shared by Parquet and Delta migration entry points.
Fields§
§dry_run: bool§total_leaf_files: usize§migrated_files: usize§skipped_files: usize§migrated_rows: usize§transcoded_rows: usize§path_identifier_rows: usize§unmigrated: Vec<UnmigratedFile>§types: BTreeMap<String, CatalogMigrationTypeReport>Implementations§
Source§impl CatalogMigrationReport
impl CatalogMigrationReport
Sourcepub fn from_plan(plan: &CatalogMigrationPlan, dry_run: bool) -> Self
pub fn from_plan(plan: &CatalogMigrationPlan, dry_run: bool) -> Self
Builds a report with preflight file accounting and no writes.
Trait Implementations§
Source§impl Clone for CatalogMigrationReport
impl Clone for CatalogMigrationReport
Source§impl Debug for CatalogMigrationReport
impl Debug for CatalogMigrationReport
Source§impl Default for CatalogMigrationReport
impl Default for CatalogMigrationReport
Source§impl Display for CatalogMigrationReport
impl Display for CatalogMigrationReport
impl Eq for CatalogMigrationReport
Source§impl PartialEq for CatalogMigrationReport
impl PartialEq for CatalogMigrationReport
Source§impl Serialize for CatalogMigrationReport
impl Serialize for CatalogMigrationReport
impl StructuralPartialEq for CatalogMigrationReport
Auto Trait Implementations§
impl Freeze for CatalogMigrationReport
impl RefUnwindSafe for CatalogMigrationReport
impl Send for CatalogMigrationReport
impl Sync for CatalogMigrationReport
impl Unpin for CatalogMigrationReport
impl UnsafeUnpin for CatalogMigrationReport
impl UnwindSafe for CatalogMigrationReport
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more