Skip to content

Conversation

@HonahX
Copy link
Contributor

@HonahX HonahX commented Apr 15, 2024

Fixes #588

Hive's alter_table does not support transactional check unless https://issues.apache.org/jira/browse/HIVE-26882 is included. Hence, we need to load and update the metadata within the lock (in a transaction) to ensure consistency

@HonahX HonahX added this to the PyIceberg 0.6.1 milestone Apr 15, 2024
Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good one @HonahX Thanks for fixing this 👍

@Fokko Fokko merged commit aa46543 into apache:main Apr 15, 2024
@Fokko
Copy link
Contributor

Fokko commented Apr 15, 2024

@HonahX Thanks for fixing this. I think we should backport this to 0.6.1 as well 👍

HonahX added a commit to HonahX/iceberg-python that referenced this pull request Apr 16, 2024
…thin transaction (apache#607)

* make refresh and update metadata in a transaction

* fix integration tests
HonahX added a commit that referenced this pull request Apr 16, 2024
…thin transaction (#607)

* make refresh and update metadata in a transaction

* fix integration tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Concern about possible consistency issue in HiveCatalog's _commit_table

2 participants