strongduanmu commented on code in PR #18657:
URL: https://github.com/apache/shardingsphere/pull/18657#discussion_r909136118
##########
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/route/engine/validator/ddl/impl/ShardingCreateViewStatementValidator.java:
##########
@@ -111,4 +119,43 @@ private boolean hasDistinct(final SelectStatement
selectStatement) {
private boolean hasLimit(final SelectStatement selectStatement) {
return
SelectStatementHandler.getLimitSegment(selectStatement).isPresent();
}
+
+ private boolean isMultiRouteUnitWithoutRule(final ShardingRule
shardingRule, final SimpleTableSegment view, final RouteContext routeContext) {
Review Comment:
Can you move this logic to preValidate?
--
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]