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

Fix NoSuchElementException when use system database #23726

Merged
merged 2 commits into from
Jan 25, 2023
Merged

Fix NoSuchElementException when use system database #23726

merged 2 commits into from
Jan 25, 2023

Conversation

zhaojinchao95
Copy link
Contributor

Fixes #22183.

@codecov-commenter
Copy link

Codecov Report

Merging #23726 (a0b4bde) into master (21446f1) will decrease coverage by 0.03%.
The diff coverage is 54.88%.

❗ Current head a0b4bde differs from pull request most recent head 7865e34. Consider uploading reports for the commit 7865e34 to get more accurate results

@@             Coverage Diff              @@
##             master   #23726      +/-   ##
============================================
- Coverage     49.80%   49.78%   -0.03%     
+ Complexity     2472     2469       -3     
============================================
  Files          4105     4104       -1     
  Lines         58395    58344      -51     
  Branches      10127    10128       +1     
============================================
- Hits          29086    29048      -38     
+ Misses        26813    26794      -19     
- Partials       2496     2502       +6     
Impacted Files Coverage Δ
...ingsphere/dialect/SQLExceptionTransformEngine.java 0.00% <0.00%> (ø)
...featured/FeaturedDistSQLStatementParserEngine.java 0.00% <0.00%> (ø)
...te/AlterDatabaseDiscoveryRuleStatementUpdater.java 88.88% <0.00%> (ø)
...ndler/update/AlterEncryptRuleStatementUpdater.java 86.53% <0.00%> (ø)
...andler/update/AlterShadowRuleStatementUpdater.java 66.66% <0.00%> (ø)
...ion/engine/WhereClauseShardingConditionEngine.java 71.95% <ø> (ø)
...r/impl/ConditionValueCompareOperatorGenerator.java 79.16% <0.00%> (ø)
.../database/schema/builder/GenericSchemaBuilder.java 56.25% <0.00%> (ø)
...etadata/dialect/OpenGaussSchemaMetaDataLoader.java 2.94% <0.00%> (ø)
...adata/database/schema/util/SchemaMetaDataUtil.java 72.72% <ø> (ø)
... and 156 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@strongduanmu strongduanmu merged commit 9d22824 into apache:master Jan 25, 2023
@zhaojinchao95 zhaojinchao95 deleted the fix-npe branch January 27, 2023 14:52
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.

NPE when select from shardingsphere.sharding_table_statistics
3 participants