Skip to content

[#1237] fix(trino): Fix dropping iceberg schema failure #1333

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

github-actions[bot]
Copy link

@github-actions github-actions bot commented Jan 4, 2024

What changes were proposed in this pull request?

Instead of catching exceptions when dropping schemas fails, throw them.

Why are the changes needed?

We can't determine whether the schema drop was successful or not based on its return value.

Fix: #1237

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

Existing UTs and ITs.

### What changes were proposed in this pull request?

Instead of catching exceptions when dropping schemas fails, throw them. 

### Why are the changes needed?

We can't determine whether the schema drop was successful or not based
on its return value.

Fix: #1237 

### Does this PR introduce _any_ user-facing change?

N/A

### How was this patch tested?

Existing UTs and ITs.
@github-actions github-actions bot added cherry-pick need backport Issues that need to backport to another branch labels Jan 4, 2024
@github-actions github-actions bot requested a review from jerryshao January 4, 2024 11:34
@jerryshao jerryshao closed this Jan 4, 2024
@jerryshao jerryshao reopened this Jan 4, 2024
Copy link
Author

github-actions bot commented Jan 4, 2024

Code Coverage Report

Overall Project 66.02% -0.01% 🟢
Files changed 70% 🟢

Module Coverage
trino-connector 76.8% -0.12% 🟢
Files
Module File Coverage
trino-connector CatalogConnectorMetadata.java 62.43% -1.14% 🟢

@jerryshao jerryshao merged commit b17edcd into branch-0.3 Jan 4, 2024
@jerryshao jerryshao deleted the cherry-pick-branch-0.3-49be5856031fe75bbb279214422a6fdfe78025b5 branch January 4, 2024 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick need backport Issues that need to backport to another branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants