Github user tdas commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19327#discussion_r141986634
  
    --- Diff: 
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/UnsupportedOperationsSuite.scala
 ---
    @@ -413,36 +414,103 @@ class UnsupportedOperationsSuite extends 
SparkFunSuite {
         batchStreamSupported = false,
         streamBatchSupported = false)
     
    -  // Left outer joins: *-stream not allowed
    +  // Left outer joins: *-stream not allowed with default condition
       testBinaryOperationInStreamingPlan(
         "left outer join",
         _.join(_, joinType = LeftOuter),
    -    streamStreamSupported = false,
         batchStreamSupported = false,
    -    expectedMsg = "left outer/semi/anti joins")
    +    streamStreamSupported = false,
    +    expectedMsg = "outer join")
    +
    +  // Left outer joins: stream-stream allowed with join on watermark 
attribute
    +  assertSupportedInStreamingPlan(
    +    s"left outer join with stream-stream relations and join on watermark 
attribute key",
    +    streamRelation.join(streamRelation, joinType = LeftOuter,
    +      condition = Some(attributeWithWatermark === attributeWithWatermark)),
    --- End diff --
    
    check that this should not require watermark to be present on both sides.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to