Revision 5cc2987dbba609d99df0b367abe25238c9498cba authored by Peter Toth on 29 October 2018, 15:47:50 UTC, committed by Herman van Hovell on 29 October 2018, 15:48:06 UTC
## What changes were proposed in this pull request?

Code generation is incorrect if `outputVars` parameter of `consume` method in `CodegenSupport` contains a lazily evaluated stream of expressions.
This PR fixes the issue by forcing the evaluation of `inputVars` before generating the code for UnsafeRow.

## How was this patch tested?

Tested with the sample program provided in https://issues.apache.org/jira/browse/SPARK-25767

Closes #22789 from peter-toth/SPARK-25767.

Authored-by: Peter Toth <peter.toth@gmail.com>
Signed-off-by: Herman van Hovell <hvanhovell@databricks.com>
(cherry picked from commit 7fe5cff0581ca9d8221533215098f40f69362018)
Signed-off-by: Herman van Hovell <hvanhovell@databricks.com>
1 parent 22bec3c
History
File Mode Size
pkg
.gitignore -rw-r--r-- 66 bytes
CRAN_RELEASE.md -rw-r--r-- 3.2 KB
DOCUMENTATION.md -rw-r--r-- 474 bytes
README.md -rw-r--r-- 3.5 KB
WINDOWS.md -rw-r--r-- 2.2 KB
check-cran.sh -rwxr-xr-x 2.4 KB
create-docs.sh -rwxr-xr-x 1.8 KB
create-rd.sh -rwxr-xr-x 1.5 KB
find-r.sh -rwxr-xr-x 1.2 KB
install-dev.bat -rw-r--r-- 1.1 KB
install-dev.sh -rwxr-xr-x 1.6 KB
install-source-package.sh -rwxr-xr-x 2.0 KB
log4j.properties -rw-r--r-- 1.3 KB
run-tests.sh -rwxr-xr-x 2.5 KB

README.md

back to top