WweiL commented on code in PR #44076:
URL: https://github.com/apache/spark/pull/44076#discussion_r1437952915
##########
sql/core/src/test/scala/org/apache/spark/sql/streaming/MultiStatefulOperatorsSuite.scala:
##########
@@ -814,68 +814,183 @@ class MultiStatefulOperatorsSuite
}
}
- test("stream-stream time interval join - output watermark for various
intervals") {
- def testOutputWatermarkInJoin(
- df: DataFrame,
- input: MemoryStream[(String, Timestamp)],
- expectedOutputWatermark: Long): Unit = {
- testStream(df)(
- // dummy row to trigger execution
- AddData(input, ("1", Timestamp.valueOf("2023-01-01 01:00:10"))),
- CheckAnswer(),
- Execute { query =>
- val lastExecution = query.lastExecution
- val joinOperator = lastExecution.executedPlan.collect {
- case j: StreamingSymmetricHashJoinExec => j
- }.head
+ test("SPARK-45637-1 join on window, append mode") {
Review Comment:
The row is added in the first batch (not no-data batch) here
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]