-
Notifications
You must be signed in to change notification settings - Fork 414
Run test_create_table_transaction for Rest V1 tables
#2137
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
Conversation
kevinjqliu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Theres another one of these in
iceberg-python/tests/integration/test_writes/test_writes.py
Lines 945 to 948 in e937f6a
| if format_version == 1 and isinstance(catalog, RestCatalog): | |
| pytest.skip( | |
| "There is a bug in the REST catalog image (https://github.com/apache/iceberg/issues/8756) that prevents create and commit a staged version 1 table" | |
| ) |
I did a search for pytest.skip https://grep.app/search?f.repo.pattern=iceberg-python&q=pytest.skip
| # There is an issue with CREATE OR REPLACE | ||
| # https://github.com/apache/iceberg/issues/8756 | ||
| spark.sql(f"DROP TABLE IF EXISTS {catalog_name}.default.test_table_version") | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, i think we can also remove L276-L278
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunally not, the OR REPLACE syntax requires a SQL extension I believe, so I'll leave that one for now.
|
Thanks @kevinjqliu for the review 🙌 |
<!--
Thanks for opening a pull request!
-->
<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->
# Rationale for this change
Follow up to #2137
Remove all mentions of `CREATE OR REPLACE` issue,
apache/iceberg#8756
# Are these changes tested?
# Are there any user-facing changes?
<!-- In the case of user-facing changes, please add the changelog label.
-->
Remove all mentions of `CREATE OR REPLACE` issue, apache/iceberg#8756 Similar to apache/iceberg-python#2137 and apache/iceberg-python#2140
<!--
Thanks for opening a pull request!
-->
<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->
# Rationale for this change
Moar test coverage :)
# Are these changes tested?
# Are there any user-facing changes?
<!-- In the case of user-facing changes, please add the changelog label.
-->
<!--
Thanks for opening a pull request!
-->
<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->
# Rationale for this change
Follow up to apache#2137
Remove all mentions of `CREATE OR REPLACE` issue,
apache/iceberg#8756
# Are these changes tested?
# Are there any user-facing changes?
<!-- In the case of user-facing changes, please add the changelog label.
-->
<!--
Thanks for opening a pull request!
-->
<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->
# Rationale for this change
Moar test coverage :)
# Are these changes tested?
# Are there any user-facing changes?
<!-- In the case of user-facing changes, please add the changelog label.
-->
<!--
Thanks for opening a pull request!
-->
<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->
# Rationale for this change
Follow up to apache#2137
Remove all mentions of `CREATE OR REPLACE` issue,
apache/iceberg#8756
# Are these changes tested?
# Are there any user-facing changes?
<!-- In the case of user-facing changes, please add the changelog label.
-->
Rationale for this change
Moar test coverage :)
Are these changes tested?
Are there any user-facing changes?