RaigorJiang commented on code in PR #17820:
URL: https://github.com/apache/shardingsphere/pull/17820#discussion_r877835599


##########
shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/asserts/statement/distsql/rql/impl/rule/ShowShadowTableRulesStatementAssert.java:
##########
@@ -42,10 +42,10 @@ public final class ShowShadowTableRulesStatementAssert {
      */
     public static void assertIs(final SQLCaseAssertContext assertContext, 
final ShowShadowTableRulesStatement actual, final 
ShowShadowTableRulesStatementTestCase expected) {
         if (null != expected.getSchema()) {
-            assertTrue(assertContext.getText("Actual schema should exist."), 
actual.getSchema().isPresent());
-            SchemaAssert.assertIs(assertContext, actual.getSchema().get(), 
expected.getSchema());
+            assertTrue(assertContext.getText("Actual schema should exist."), 
actual.getDatabase().isPresent());
+            DatabaseAssert.assertIs(assertContext, actual.getDatabase().get(), 
expected.getSchema());

Review Comment:
   expected.getDatabase())



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to