You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Throwable is the superclass of all errors and exceptions in Java so this will also catch for instance OutOfMemoryError and InternalError which you probably don't want to catch.
How should we improve?
Catch exception instead.
The text was updated successfully, but these errors were encountered:
### What changes were proposed in this pull request?
Catch Exception instead of Throwable in HiveCatalogOperations.java and
HiveClientPool.java
### Why are the changes needed?
Fix: #3035
### Does this PR introduce _any_ user-facing change?
N/A
### How was this patch tested?
exist ut
Co-authored-by: yangliwei <[email protected]>
…apache#3041)
### What changes were proposed in this pull request?
Catch Exception instead of Throwable in HiveCatalogOperations.java and
HiveClientPool.java
### Why are the changes needed?
Fix: apache#3035
### Does this PR introduce _any_ user-facing change?
N/A
### How was this patch tested?
exist ut
Co-authored-by: yangliwei <[email protected]>
What would you like to be improved?
Throwable is the superclass of all errors and exceptions in Java so this will also catch for instance OutOfMemoryError and InternalError which you probably don't want to catch.
How should we improve?
Catch exception instead.
The text was updated successfully, but these errors were encountered: