snuyanzin commented on code in PR #24317:
URL: https://github.com/apache/flink/pull/24317#discussion_r1698291583


##########
flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/planner/runtime/stream/sql/CorrelateITCase.scala:
##########
@@ -389,6 +389,25 @@ class CorrelateITCase extends StreamingTestBase {
     assertThat(sink.getAppendResults.sorted).isEqualTo(expected.sorted)
   }
 
+  @Test
+  def testLateralCrossJoin(): Unit = {
+    val data = List((1, 2, "x|y"))
+
+    val t1 = env.fromCollection(data).toTable(tEnv, 'a, 'b, 'c)
+    tEnv.createTemporaryView("T1", t1)
+
+    val sql =
+      "SELECT * FROM T1 as t, LATERAL TABLE(STRING_SPLIT(t.c,'|')) CROSS JOIN 
(VALUES ('A'), ('B'));"

Review Comment:
   The query is taken from description of 
https://issues.apache.org/jira/browse/FLINK-34446



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

Reply via email to