pub struct IcebergSchemaUpdate {
pub fields: Vec<Value>,
pub last_column_id: i32,
pub name_mapping_json: String,
}Expand description
Iceberg schema update carried inside a snapshot commit.
When present, HadoopCatalog::commit_snapshot patches schemas[0].fields,
last-column-id, and schema.name-mapping.default in the persisted metadata.
REST/Glue/JDBC backends that delegate schema management to the server ignore this.
Fields§
§fields: Vec<Value>Iceberg-typed field descriptors, e.g. [{"id":1,"name":"id","required":false,"type":"int"}].
last_column_id: i32§name_mapping_json: StringCompact JSON string: [{"field-id":1,"names":["id"]},...].
Trait Implementations§
Source§impl Clone for IcebergSchemaUpdate
impl Clone for IcebergSchemaUpdate
Source§fn clone(&self) -> IcebergSchemaUpdate
fn clone(&self) -> IcebergSchemaUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IcebergSchemaUpdate
impl RefUnwindSafe for IcebergSchemaUpdate
impl Send for IcebergSchemaUpdate
impl Sync for IcebergSchemaUpdate
impl Unpin for IcebergSchemaUpdate
impl UnsafeUnpin for IcebergSchemaUpdate
impl UnwindSafe for IcebergSchemaUpdate
Blanket Implementations§
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,
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