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

Snap 3055 #1380

Merged
merged 12 commits into from
Jul 27, 2019
Merged

Snap 3055 #1380

merged 12 commits into from
Jul 27, 2019

Conversation

hemanthmeka
Copy link
Contributor

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

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")) =>
Copy link
Contributor

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.

Copy link
Contributor

@dshirish dshirish left a 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

@hemanthmeka hemanthmeka merged commit ebc4cfe into master Jul 27, 2019
@sumwale sumwale deleted the SNAP-3055 branch July 27, 2019 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants