pub struct TableState {
pub snapshot_id: Option<i64>,
pub watermark: Option<String>,
pub done_files: Vec<String>,
pub synced_at: Option<String>,
pub cdc: Option<CdcCapability>,
}Fields§
§snapshot_id: Option<i64>Last fully processed Iceberg snapshot id.
watermark: Option<String>Last watermark value, for watermark-column sources.
done_files: Vec<String>Files already ingested, for file/asset sources (the AIP-82 “which files are done” ledger). Empty for snapshot/watermark sources.
synced_at: Option<String>ISO-8601 of the last successful round.
cdc: Option<CdcCapability>Which CDC backend served this table, and why — recorded on every
changelog round so an operator reads the decision out of state_json
instead of inferring it from timings. Carries the Spark version, whether
the native 4.2 path was expected, whether it was actually usable, and —
when it was not — that it fell back and the engine’s own reason.
#[serde(default)] + skip_serializing_if: a ledger written before this
field existed still loads, and a non-CDC table does not grow the file.
Trait Implementations§
Source§impl Clone for TableState
impl Clone for TableState
Source§impl Debug for TableState
impl Debug for TableState
Source§impl Default for TableState
impl Default for TableState
Source§impl<'de> Deserialize<'de> for TableState
impl<'de> Deserialize<'de> for TableState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TableState
impl PartialEq for TableState
Source§impl Serialize for TableState
impl Serialize for TableState
impl StructuralPartialEq for TableState
Auto Trait Implementations§
impl Freeze for TableState
impl RefUnwindSafe for TableState
impl Send for TableState
impl Sync for TableState
impl Unpin for TableState
impl UnsafeUnpin for TableState
impl UnwindSafe for TableState
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> 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