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

Change Append/Overwrite API to accept snapshot properties #419

Merged
merged 13 commits into from
Mar 19, 2024

Conversation

Gowthami03B
Copy link
Contributor

No description provided.

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.

Thanks @Gowthami03B for picking this up. This looks great, just a suggestion about the API itself. I can see that we want to add more keyword-arguments later on, and catching everything as table properties makes it harder to evolve this later on as it might conflict with a future keyword arguments.

Also, could you add this both to the docstring of .append(..) and .overwrite(..) and also document this under mkdocs/docs/api.md? Thanks again! 🙌

pyiceberg/table/__init__.py Outdated Show resolved Hide resolved
tests/catalog/test_glue.py Outdated Show resolved Hide resolved
@Gowthami03B Gowthami03B changed the title [WIP] Change Append/Overwrite API to accept snapshot properties Change Append/Overwrite API to accept snapshot properties Feb 13, 2024
@Gowthami03B Gowthami03B marked this pull request as ready for review February 13, 2024 22:56
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.

This looks great, thanks for working on this @Gowthami03B

I have one small suggestion. In the future, we want to run the Python code in the example blocks to make sure that everything works. Therefore it is best to make sure that it is valid Python.

mkdocs/docs/api.md Outdated Show resolved Hide resolved
@Fokko Fokko added this to the PyIceberg 0.7.0 release milestone Feb 14, 2024
Co-authored-by: Fokko Driesprong <[email protected]>
@Fokko
Copy link
Contributor

Fokko commented Feb 20, 2024

@Gowthami03B Now the release is out, we can merge this. Could you fix the merge conflicts? Thanks!

@Gowthami03B
Copy link
Contributor Author

@Gowthami03B Now the release is out, we can merge this. Could you fix the merge conflicts? Thanks!

@Fokko Done!

pyiceberg/table/__init__.py Outdated Show resolved Hide resolved
@Gowthami03B Gowthami03B requested a review from Fokko March 15, 2024 04:46
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.

This looks good @Gowthami03B I have one small suggestion, but apart from that it looks good to go 🚀

pyiceberg/table/__init__.py Outdated Show resolved Hide resolved
Co-authored-by: Fokko Driesprong <[email protected]>
@Fokko Fokko merged commit 5506fd0 into apache:main Mar 19, 2024
7 checks passed
@Fokko
Copy link
Contributor

Fokko commented Mar 19, 2024

Thanks @Gowthami03B for adding this 🙌

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