Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] [REST] Dont remove identifier root #1172

Merged

Conversation

kevinjqliu
Copy link
Contributor

Found this bug while working on the REST catalog.

This PR should be safe since _identifier_to_tuple_without_catalog was added in #994, and soon the "catalog name" will be fully deprecated from the table identifier.

Also, I made sure that every _split_identifier_for_path in rest.py has a corresponding _identifier_to_tuple_without_catalog call.

@kevinjqliu kevinjqliu requested review from sungwy and HonahX September 13, 2024 05:20
Copy link
Collaborator

@sungwy sungwy left a comment

Choose a reason for hiding this comment

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

Thanks for adding this in @kevinjqliu ! This looks right to me, and I follow your logic in separating out the role of _split_identifier_for_path and _identifier_to_validated_tuple

@kevinjqliu kevinjqliu merged commit 0dc5408 into apache:main Sep 13, 2024
8 checks passed
@kevinjqliu kevinjqliu deleted the kevinjqliu/dont-remove-identifier-root branch September 13, 2024 16:36
sungwy pushed a commit to sungwy/iceberg-python that referenced this pull request Dec 7, 2024
* dont remove identifier root

* remove catalog in identifier tuple
sungwy pushed a commit to sungwy/iceberg-python that referenced this pull request Dec 7, 2024
* dont remove identifier root

* remove catalog in identifier tuple
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.

2 participants