Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@Fokko
Copy link
Contributor

@Fokko Fokko commented Aug 28, 2024

This was brought up earlier, and I think this is a good idea. I changed the signature to also pass in the table.

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.

Hi @Fokko - thank you for driving this! In agreement with you on the updated input params for the method as well. 👍 I left a few nits, hope you find them helpful

pyiceberg/catalog/glue.py Outdated Show resolved Hide resolved
pyiceberg/catalog/hive.py Outdated Show resolved Hide resolved
pyiceberg/catalog/hive.py Outdated Show resolved Hide resolved
pyiceberg/catalog/rest.py Show resolved Hide resolved
pyiceberg/catalog/rest.py Outdated Show resolved Hide resolved
Copy link
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

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

Added some minor comments.
Also want to point out that _commit_table doc used to be "Update one or more tables." and is now changed to support updating only 1 table.

Any idea how we can safely deprecate the _commit_table function?

pyiceberg/catalog/rest.py Outdated Show resolved Hide resolved
pyiceberg/table/__init__.py Outdated Show resolved Hide resolved
pyiceberg/table/__init__.py Outdated Show resolved Hide resolved
tests/catalog/test_base.py Outdated Show resolved Hide resolved
pyiceberg/catalog/rest.py Outdated Show resolved Hide resolved
pyiceberg/catalog/glue.py Outdated Show resolved Hide resolved
pyiceberg/catalog/hive.py Outdated Show resolved Hide resolved
pyiceberg/catalog/sql.py Outdated Show resolved Hide resolved
Copy link
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

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

LGTM!

@sungwy
Copy link
Collaborator

sungwy commented Sep 3, 2024

Hi @Fokko

Just a heads up - my apologies for adding in a merge conflict here. I merged in #820 first because it had been open for quite some time. Could we rebase this branch from the updated main?

@Fokko
Copy link
Contributor Author

Fokko commented Sep 5, 2024

@sungwy No problem at all, I've pulled in latest master 👍

@sungwy sungwy merged commit 052a9cd into apache:main Sep 5, 2024
sungwy pushed a commit to sungwy/iceberg-python that referenced this pull request Dec 7, 2024
* Make `commit_table` public

* Comments

* Thanks Kevin!

* Update tests
sungwy pushed a commit to sungwy/iceberg-python that referenced this pull request Dec 7, 2024
* Make `commit_table` public

* Comments

* Thanks Kevin!

* Update 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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.