morrySnow commented on code in PR #34473:
URL: https://github.com/apache/doris/pull/34473#discussion_r1592419724
##########
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:
when we do computeprecision, we do not choose any signature, so its child do
not cast to integer type, so child maybe any type
--
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]