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

Merged
merged 4 commits into from
Jan 17, 2025

Conversation

cutiepie-10
Copy link
Contributor

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
Contributor 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.

@codecov-commenter
Copy link

codecov-commenter commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.32%. Comparing base (59551e4) to head (435e462).
Report is 1587 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (59551e4) and HEAD (435e462). Click for more details.

HEAD has 7 uploads less than BASE
Flag BASE (59551e4) HEAD (435e462)
skip-bytebuffers-false 7 6
unittests 5 3
java-11 5 4
unittests2 3 0
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     
Flag Coverage Δ
custom-integration1 100.00% <ø> (+99.99%) ⬆️
integration 100.00% <ø> (+99.99%) ⬆️
integration1 100.00% <ø> (+99.99%) ⬆️
integration2 0.00% <ø> (ø)
java-11 56.27% <100.00%> (-5.43%) ⬇️
java-21 56.19% <100.00%> (-5.44%) ⬇️
skip-bytebuffers-false 56.31% <100.00%> (-5.44%) ⬇️
skip-bytebuffers-true 56.16% <100.00%> (+28.43%) ⬆️
temurin 56.32% <100.00%> (-5.43%) ⬇️
unittests 56.32% <100.00%> (-5.43%) ⬇️
unittests1 56.32% <100.00%> (+9.43%) ⬆️
unittests2 ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cutiepie-10 cutiepie-10 force-pushed the origin/ValidationFailure branch from 6d57c3c to f3b3231 Compare January 16, 2025 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants