blackmwk opened a new pull request, #3190: URL: https://github.com/apache/iceberg-rust/pull/3190
## Which issue does this PR close? - Closes #3182. ## What changes are included in this PR? - Makes NestedField fields private and exposes read-only accessors. - Adds a typed NestedField builder whose build method returns Result and validates initial and write defaults against the field type. - Routes NestedField constructors, serde conversion, and internal schema rebuilds through the builder. - Removes the consuming NestedField with methods and makes NestedField and MapType convenience constructors fallible. - Migrates workspace consumers and updates the public API snapshot. ## Are these changes tested? - Added unit coverage for builder field access and validation of primitive, fixed, struct, list, and map defaults. - cargo test -p iceberg --lib: 1,676 passed. - cargo test -p iceberg --doc --all-features: 83 passed, 13 ignored. - cargo clippy --workspace --all-targets --all-features -- -D warnings: passed. - make check-public-api: passed. - cargo fmt --all -- --check: passed. ## AI Disclosure This PR was implemented with assistance from OpenAI Codex for code migration, test scaffolding, and verification. The implementation and generated changes were reviewed, and the full core test suite, workspace clippy checks, formatting checks, doctests, and public API checks were run locally. There are no known unresolved uncertainties. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
