GitHub user henryr opened a pull request:
https://github.com/apache/spark/pull/20687
[SPARK-25000][SQL] Fix complex type simplification rules to apply to entire
plan
## What changes were proposed in this pull request?
Complex type simplification optimizer rules were not applied to the
entire plan, just the expressions reachable from the root node. This
patch fixes the rules to transform the entire plan.
## How was this patch tested?
New unit test + ran sql / core tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/henryr/spark spark-25000
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20687.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 #20687
----
commit f446fa2482f2ccdfa6fec7243bb25b2e232da5fa
Author: Henry Robinson <henry@...>
Date: 2018-02-28T00:42:17Z
[SPARK-25000][SQL] Fix complex type simplification rules to apply to entire
plan
## What changes were proposed in this pull request?
Complex type simplification optimizer rules were not applied to the
entire plan, just the expressions reachable from the root node. This
patch fixes the rules to transform the entire plan.
## How was this patch tested?
New unit test + sql / core tests.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]