iisheng commented on code in PR #19287:
URL: https://github.com/apache/shardingsphere/pull/19287#discussion_r928472973
##########
shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/asserts/segment/expression/ExpressionAssert.java:
##########
@@ -378,8 +379,12 @@ public static void assertExpression(final
SQLCaseAssertContext assertContext,
ProjectionAssert.assertProjection(assertContext,
(ExpressionProjectionSegment) actual,
expected.getExpressionProjection());
} else if (actual instanceof AggregationProjectionSegment) {
+ ExpectedAggregationProjection expectedAggregationProjection =
expected.getAggregationProjection();
Review Comment:
This logic is for get expected unit test object, should not move to
assertProjection.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]