Kikyou1997 commented on code in PR #10499: URL: https://github.com/apache/doris/pull/10499#discussion_r911009838
########## fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/translator/PhysicalPlanTranslator.java: ########## @@ -138,8 +147,13 @@ public PlanFragment visitPhysicalOlapScan( List<Slot> slotList = olapScan.getOutput(); PhysicalOlapScan physicalOlapScan = olapScan.getOperator(); OlapTable olapTable = physicalOlapScan.getTable(); + List<Expr> execConjunctsList = physicalOlapScan + .getExpressions() + .stream() + .map(e -> ExpressionTranslator.translate(e, context)).collect(Collectors.toList()); TupleDescriptor tupleDescriptor = generateTupleDesc(slotList, context, olapTable); OlapScanNode olapScanNode = new OlapScanNode(context.nextNodeId(), tupleDescriptor, olapTable.getName()); + olapScanNode.addConjuncts(execConjunctsList); context.addScanNode(olapScanNode); Review Comment: converted at NereidPlanner -- 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