yujun777 commented on code in PR #64412:
URL: https://github.com/apache/doris/pull/64412#discussion_r3394414422
##########
fe/fe-core/src/main/java/org/apache/doris/mtmv/MTMVRelation.java:
##########
@@ -73,7 +73,8 @@ public Set<BaseTableInfo> getBaseTablesOneLevelAndFromView() {
}
public Set<BaseTableInfo> getBaseViewsOneLevel() {
- return baseViewsOneLevel;
+ // For compatibility, previously created MTMV may not have
baseViewsOneLevel
+ return baseViewsOneLevel == null ? baseViews : baseViewsOneLevel;
Review Comment:
这个文件中前面两个函数都是用一样的写法的。 保持一致的风格 ?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]