morningman commented on code in PR #23317:
URL: https://github.com/apache/doris/pull/23317#discussion_r1301777191


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java:
##########
@@ -669,7 +669,7 @@ public PlanFragment 
visitPhysicalTVFRelation(PhysicalTVFRelation tvfRelation, Pl
         // set label for explain
         for (Slot slot : slots) {
             String tableColumnName = "_table_valued_function_" + 
tvfRelation.getFunction().getName()
-                    + "." + slots.get(0).getName();
+                    + "." + slot.getName();

Review Comment:
   Add a case to cover this. U can use `explain action` in regression test 



-- 
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

Reply via email to