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

Adding error message in the SchemUtils.java #14804

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cutiepie-10
Copy link

I have added an error message in the SchemaUtils.java inside the validateCompatibilityWithTableConfig(). #14787

@@ -176,7 +176,7 @@ private static void validateCompatibilityWithTableConfig(Schema schema, TableCon
} catch (Exception e) {
throw new IllegalStateException(
"Schema is incompatible with tableConfig with name: " + tableConfig.getTableName() + " and type: "
+ tableConfig.getTableType(), e);
+ tableConfig.getTableType()+" Caused By: "+e.getMessage(), e);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
+ tableConfig.getTableType()+" Caused By: "+e.getMessage(), e);
+ tableConfig.getTableType() + ", reason: " + e.getMessage(), e);

Copy link
Author

Choose a reason for hiding this comment

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

Hello @Jackie-Jiang,
I have corrected the message.

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.

2 participants