You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: convert CdcOptions <-> parquet-rs via From impls
Replace the inline field-by-field mapping in the parquet writer path with two
`From` impls that encapsulate the enabled-flag <-> Option-presence translation:
* `From<&CdcOptions> for Option<parquet::file::properties::CdcOptions>` — a
disabled `CdcOptions` maps to `None`, an enabled one to `Some(..)`.
* `From<Option<&parquet::file::properties::CdcOptions>> for CdcOptions` — `Some`
implies `enabled: true`; `None` yields the disabled default.
The writer set/read sites collapse to `content_defined_chunking.into()` and
`props.content_defined_chunking().into()` respectively.
0 commit comments