Skip to content

Propagate exception when reading metadata fails#8951

Merged
findepi merged 4 commits intotrinodb:masterfrom
findepi:findepi/propagate-exception-when-reading-metadata-fails-a43646
Aug 24, 2021
Merged

Propagate exception when reading metadata fails#8951
findepi merged 4 commits intotrinodb:masterfrom
findepi:findepi/propagate-exception-when-reading-metadata-fails-a43646

Conversation

@findepi
Copy link
Copy Markdown
Member

@findepi findepi commented Aug 24, 2021

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

For #8873

`.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.
@findepi
Copy link
Copy Markdown
Member Author

findepi commented Aug 24, 2021

CI #8691

@findepi findepi merged commit b4e707e into trinodb:master Aug 24, 2021
@findepi findepi added this to the 361 milestone Aug 24, 2021
@findepi findepi deleted the findepi/propagate-exception-when-reading-metadata-fails-a43646 branch August 24, 2021 21:18
v-jizhang added a commit to v-jizhang/presto that referenced this pull request Dec 7, 2021
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants