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

Improve Error Handling to map Snowflake Exceptions into Iceberg Exceptions #6952

Merged
merged 12 commits into from
May 17, 2023

Conversation

AnubhavSiddharth
Copy link
Contributor

Improve Error Handling to map Snowflake Exceptions into Iceberg Exceptions

The Snowflake JDBC Client was throwing generic exceptions in some scenarios (Eg: UncheckedSQLException), this change maps them to the appropriate Iceberg Exceptions to help the retry/error-handling mechanism in Iceberg.

Added test cases as well.

@nastra nastra self-requested a review March 1, 2023 07:38
Copy link
Contributor

@nastra nastra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, @danielcweeks could you also take a look at this please?

@nastra nastra requested a review from danielcweeks March 6, 2023 07:48
@danielcweeks danielcweeks merged commit 202af03 into apache:master May 17, 2023
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants