924060929 commented on code in PR #14827:
URL: https://github.com/apache/doris/pull/14827#discussion_r1050636798
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/NereidsPlanner.java:
##########
@@ -314,6 +320,11 @@ public CascadesContext getCascadesContext() {
return cascadesContext;
}
+ public static PhysicalProperties buildInitRequireProperties(Plan initPlan)
{
+ boolean isQuery = !(initPlan instanceof Command) || (initPlan
instanceof ExplainCommand);
Review Comment:
currently, explain command only for explain query, so we should require
gather for it.
when the explain command support other sqls, like `insert into`, we should
change it.
--
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]