zhiqiang-hhhh commented on code in PR #34473:
URL: https://github.com/apache/doris/pull/34473#discussion_r1592416865
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/NereidsPlanner.java:
##########
@@ -581,8 +581,7 @@ public Optional<ResultSet> handleQueryInFe(StatementBase
parsedStmt) {
return Optional.of(resultSet);
} else if (child instanceof PhysicalEmptyRelation) {
List<Column> columns = Lists.newArrayList();
- PhysicalEmptyRelation physicalEmptyRelation =
(PhysicalEmptyRelation) physicalPlan.child(0);
- for (int i = 0; i < physicalEmptyRelation.getProjects().size();
i++) {
+ for (int i = 0; i < physicalPlan.getOutput().size(); i++) {
Review Comment:
what is the relation between this for loop with round function?
--
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]