aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorHerman van Hovell <hvanhovell@questtec.nl>2016-05-10 12:47:31 -0700
committerYin Huai <yhuai@databricks.com>2016-05-10 12:47:31 -0700
commitd28c67544b26c38d51a31d1f8dac3fc23860e1ef (patch)
treeccf2d39c55bf8e2c25177f470c1c4c839bb411f1 /.travis.yml
parent89f73f674126bbc1cc101f0f5731b5750f1c90c8 (diff)
downloadspark-d28c67544b26c38d51a31d1f8dac3fc23860e1ef.tar.gz
spark-d28c67544b26c38d51a31d1f8dac3fc23860e1ef.tar.bz2
spark-d28c67544b26c38d51a31d1f8dac3fc23860e1ef.zip
[SPARK-14986][SQL] Return correct result for empty LATERAL VIEW OUTER
## What changes were proposed in this pull request? A Generate with the `outer` flag enabled should always return one or more rows for every input row. The optimizer currently violates this by rewriting `outer` Generates that do not contain columns of the child plan into an unjoined generate, for example: ```sql select e from a lateral view outer explode(a.b) as e ``` The result of this is that `outer` Generate does not produce output at all when the Generators' input expression is empty. This PR fixes this. ## How was this patch tested? Added test case to `SQLQuerySuite`. Author: Herman van Hovell <hvanhovell@questtec.nl> Closes #12906 from hvanhovell/SPARK-14986.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions