spuru9 commented on code in PR #29352:
URL: https://github.com/apache/flink/pull/29352#discussion_r4198711541


##########
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/plan/nodes/exec/stream/ProcessTableFunctionTestPrograms.java:
##########
@@ -1678,19 +1678,30 @@ public class ProcessTableFunctionTestPrograms {
                             "process-stateful-multi-input-with-timeout",
                             "joins two tables and emits the left side after a 
timeout if there is no right side")
                     .setupTemporarySystemFunction("f", TimedJoinFunction.class)
-                    .setupTableSource(TIMED_SOURCE)
+                    // The two inputs may reach eval() in any interleaving. To 
keep the output
+                    // independent of it, a key with a city has a single score 
with the same
+                    // timestamp as its city. Keys without a city may have 
multiple scores.

Review Comment:
   Added a small test for the same.



##########
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/plan/nodes/exec/stream/ProcessTableFunctionTestUtils.java:
##########
@@ -105,7 +105,11 @@ public class ProcessTableFunctionTestUtils {
                             "city STRING",
                             "ts TIMESTAMP_LTZ(3)",
                             "WATERMARK FOR ts AS ts - INTERVAL '0.001' SECOND")
-                    .producedValues(Row.of("Bob", "London", 
Instant.ofEpochMilli(0)))
+                    .producedValues(

Review Comment:
   Done



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