GitHub user hvanhovell opened a pull request: https://github.com/apache/spark/pull/17810
[SPARK-20534][SQL] Make outer generate exec return empty rows ## What changes were proposed in this pull request? Generate exec does not produce `null` values if the generator for the input row is empty and the generate operates in outer mode without join. This is caused by the fact that the `join=false` code path is different from the `join=true` code path, and that the `join=false` code path did deal with outer properly. This PR addresses this issue. ## How was this patch tested? Updated `outer*` tests in `GeneratorFunctionSuite`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/hvanhovell/spark SPARK-20534 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/17810.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #17810 ---- commit e1dfe8dcbf8599d837c553810fe9ffca95ffa2ad Author: Herman van Hovell <hvanhov...@databricks.com> Date: 2017-04-29T22:01:46Z Fix interpreted outer generate exec ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org