Skip to content

UpdateSpec reads stale schema/metadata, breaking chained transaction operationsΒ #1642

Description

@badalprasadsingh

Apache Iceberg version

main (development)

Please describe the bug 🐞

Right now, updateSpec reads table state and schema exclusively from the immutable table snapshot captured when the transaction started instead of the transaction's staged metadata.

As a result, partition evolution cannot see columns or specs added earlier in the same txn.

What is expected? Any chained operation should succeed, binding any new col against the transaction's staged schema.

Contribution

Will raise a PR with the fix

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions