-
Notifications
You must be signed in to change notification settings - Fork 203
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
Snap 3055 #1380
Snap 3055 #1380
Conversation
SQLState.LANG_UNEXPECTED_USER_EXCEPTION, null, "Table retrieved successfully. To " + | ||
"continue to drop this table change FORCE_DROP argument in procedure to true"); | ||
throw new AnalysisException("Table retrieved successfully. To " + | ||
"continue to drop this table change FORCE_DROP argument in procedure to true"); | ||
} | ||
} catch { | ||
case a: AnalysisException if (a.message.contains("might be inconsistent in hive catalog")) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be better to have the message stored in one constant and then use it at places where required. Or create a new exception of and catch it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added one minor comment. LGTM
Changes proposed in this pull request
review changes for previous changes
Patch testing
manually tested suite and failure scenarios
ReleaseNotes.txt changes
no
Other PRs
None