-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Adding error message in the SchemUtils.java #14804
Conversation
@@ -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); |
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.
+ tableConfig.getTableType()+" Caused By: "+e.getMessage(), e); | |
+ tableConfig.getTableType() + ", reason: " + e.getMessage(), e); |
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.
Hello @Jackie-Jiang,
I have corrected the message.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #14804 +/- ##
============================================
- Coverage 61.75% 56.32% -5.43%
- Complexity 207 801 +594
============================================
Files 2436 2120 -316
Lines 133233 113795 -19438
Branches 20636 18279 -2357
============================================
- Hits 82274 64093 -18181
+ Misses 44911 44505 -406
+ Partials 6048 5197 -851
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
6d57c3c
to
f3b3231
Compare
I have added an error message in the SchemaUtils.java inside the validateCompatibilityWithTableConfig(). #14787