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

README.md

back to top