Skip to content

Propagate exception when reading metadata fails#17076

Closed
v-jizhang wants to merge 1 commit intoprestodb:masterfrom
v-jizhang:propagate-exception
Closed

Propagate exception when reading metadata fails#17076
v-jizhang wants to merge 1 commit intoprestodb:masterfrom
v-jizhang:propagate-exception

Conversation

@v-jizhang
Copy link
Copy Markdown
Contributor

Cherry-pick of trinodb/trino#8951

Quote rom the original PR:
".suppressFailureWhenFinished() causes the run method return false
on failure, instead of throwing. This behavior was not desirable here,
leading to NPE when trying to access the result."

Fixes trinodb/trino#8873

Co-authored-by: Piotr Findeisen piotr.findeisen@gmail.com

== RELEASE NOTES ==

General Changes
* Propagate exception when reading metadata fails
* 

Cherry-pick of trinodb/trino#8951

Quote rom the original PR:
`.suppressFailureWhenFinished()` causes the `run` method return `false`
on failure, instead of throwing. This behavior was not desirable here,
leading to NPE when trying to access the result.

Co-authored-by: Piotr Findeisen <piotr.findeisen@gmail.com>
@stale
Copy link
Copy Markdown

stale bot commented Jun 13, 2022

This pull request has been automatically marked as stale because it has not had recent activity. If you'd still like this PR merged, please comment on the task, make sure you've addressed reviewer comments, and rebase on the latest master. Thank you for your contributions!

@stale stale bot added the stale label Jun 13, 2022
@wanglinsong wanglinsong requested review from a team and hantangwangd as code owners July 6, 2024 04:32
@wanglinsong wanglinsong requested a review from presto-oss July 6, 2024 04:32
@hantangwangd
Copy link
Copy Markdown
Member

Closing as #23174 has been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Trino read Iceberg table error: java.lang.NullPointerException: undefined

2 participants