You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "vovacf201 (via GitHub)" <gi...@apache.org> on 2026/03/24 09:17:36 UTC
[PR] fix: handle missing schema_id in ObjectCache for Iceberg v1 tables [iceberg-rust]
vovacf201 opened a new pull request, #2279:
URL: https://github.com/apache/iceberg-rust/pull/2279
## Which issue does this PR close?
N/A (discovered in production via panic stack trace)
## What changes are included in this PR?
ObjectCache::get_manifest_list panics when building the cache key for snapshots that don't have a schema_id set. This happens with Iceberg v1 format tables, where schema_id is optional on snapshots.
The fix falls back to table_metadata.current_schema_id() when snapshot.schema_id() returns None, consistent with how Snapshot::schema() resolves the schema elsewhere in the codebase.
## Are these changes tested?
Existing test_get_manifest_list_and_manifest_from_default_cache covers the cache path but uses v2 metadata where schema_id is always present.
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] fix: handle missing schema_id in ObjectCache for Iceberg v1 tables [iceberg-rust]
Posted by "vovacf201 (via GitHub)" <gi...@apache.org>.
vovacf201 closed pull request #2279: fix: handle missing schema_id in ObjectCache for Iceberg v1 tables
URL: https://github.com/apache/iceberg-rust/pull/2279
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org