diff options
author | Davies Liu <davies@databricks.com> | 2017-01-20 16:11:40 -0800 |
---|---|---|
committer | Herman van Hovell <hvanhovell@databricks.com> | 2017-01-20 16:11:40 -0800 |
commit | 9b7a03f15ac45e5f7dcf118d1e7ce1556339aa46 (patch) | |
tree | 67c03bb4a69f9631e845156ca6eaef25746bb02d /python/docs/Makefile | |
parent | 552e5f08841828e55f5924f1686825626da8bcd0 (diff) | |
download | spark-9b7a03f15ac45e5f7dcf118d1e7ce1556339aa46.tar.gz spark-9b7a03f15ac45e5f7dcf118d1e7ce1556339aa46.tar.bz2 spark-9b7a03f15ac45e5f7dcf118d1e7ce1556339aa46.zip |
[SPARK-18589][SQL] Fix Python UDF accessing attributes from both side of join
## What changes were proposed in this pull request?
PythonUDF is unevaluable, which can not be used inside a join condition, currently the optimizer will push a PythonUDF which accessing both side of join into the join condition, then the query will fail to plan.
This PR fix this issue by checking the expression is evaluable or not before pushing it into Join.
## How was this patch tested?
Add a regression test.
Author: Davies Liu <davies@databricks.com>
Closes #16581 from davies/pyudf_join.
Diffstat (limited to 'python/docs/Makefile')
0 files changed, 0 insertions, 0 deletions