spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gatorsmile <...@git.apache.org>
Subject [GitHub] spark pull request #17810: [SPARK-20534][SQL] Make outer generate exec retur...
Date Sun, 30 Apr 2017 07:04:10 GMT
Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/17810#discussion_r114068640
  
    --- Diff: sql/core/src/test/scala/org/apache/spark/sql/GeneratorFunctionSuite.scala ---
    @@ -91,7 +91,7 @@ class GeneratorFunctionSuite extends QueryTest with SharedSQLContext
{
         val df = Seq((1, Seq(1, 2, 3)), (2, Seq())).toDF("a", "intList")
         checkAnswer(
           df.select(explode_outer('intList)),
    -      Row(1) :: Row(2) :: Row(3) :: Nil)
    +      Row(1) :: Row(2) :: Row(3) :: Row(null) :: Nil)
    --- End diff --
    
    I see. Could we also update the document to explain the new behaviors?
    
    - https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicLogicalOperators.scala#L86
    
    - https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/GenerateExec.scala#L53
    
    
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message