twalthr commented on a change in pull request #12862:
URL: https://github.com/apache/flink/pull/12862#discussion_r452811509



##########
File path: 
flink-table/flink-table-planner-blink/src/test/resources/org/apache/flink/table/planner/plan/batch/sql/UnnestTest.xml
##########
@@ -34,7 +34,7 @@ LogicalProject(a=[$0], s=[$3])
     <Resource name="planAfter">
       <![CDATA[
 Calc(select=[a, f0 AS s])
-+- Correlate(invocation=[explode($cor0.c)], 
correlate=[table(explode($cor0.c))], select=[a,b,c,f0], 
rowType=[RecordType(INTEGER a, BIGINT b, VARCHAR(2147483647) ARRAY c, 
VARCHAR(2147483647) f0)], joinType=[INNER])

Review comment:
       I don't know why we called it `explode` in the past. There is no reason 
for it. The official term for this function in SQL is `UNNEST` and it is rather 
confusing to not show this in the plan as well.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to