Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21539#discussion_r194836411
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/execution/PlannerSuite.scala ---
    @@ -679,6 +679,13 @@ class PlannerSuite extends SharedSQLContext {
         }
         assert(rangeExecInZeroPartition.head.outputPartitioning == 
UnknownPartitioning(0))
       }
    +
    +  test("SPARK-24500: create union with stream of children") {
    +    val df = Union(Stream(
    +      Range(1, 1, 1, 1),
    +      Range(1, 2, 1, 1)))
    +    df.queryExecution.executedPlan.execute()
    --- End diff --
    
    does it throw exception before?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to