sohardforaname commented on code in PR #23121: URL: https://github.com/apache/doris/pull/23121#discussion_r1326971472
########## fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java: ########## @@ -731,6 +734,18 @@ public LogicalPlan visitRegularQuerySpecification(RegularQuerySpecificationConte }); } + @Override + public LogicalPlan visitInlineTable(InlineTableContext ctx) { + List<UnboundOneRowRelation> exprsList = ctx.rowConstructor().stream() + .map(this::visitRowConstructor) + .collect(ImmutableList.toImmutableList()); + LogicalPlan relation = exprsList.get(0); + for (int i = 1; i < exprsList.size(); i++) { + relation = new LogicalUnion(Qualifier.ALL, ImmutableList.of(relation, exprsList.get(i))); + } Review Comment: this is only two children, it's OK. -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org