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
File | Mode | Size |
---|---|---|
slaves.sh | -rwxr-xr-x | 2.7 KB |
spark-config.sh | -rwxr-xr-x | 1.4 KB |
spark-daemon.sh | -rwxr-xr-x | 5.6 KB |
spark-daemons.sh | -rwxr-xr-x | 1.2 KB |
start-all.sh | -rwxr-xr-x | 1.2 KB |
start-history-server.sh | -rwxr-xr-x | 1.2 KB |
start-master.sh | -rwxr-xr-x | 2.0 KB |
start-mesos-dispatcher.sh | -rwxr-xr-x | 1.8 KB |
start-mesos-shuffle-service.sh | -rwxr-xr-x | 1.4 KB |
start-shuffle-service.sh | -rwxr-xr-x | 1.2 KB |
start-slave.sh | -rwxr-xr-x | 3.1 KB |
start-slaves.sh | -rwxr-xr-x | 1.5 KB |
start-thriftserver.sh | -rwxr-xr-x | 1.8 KB |
stop-all.sh | -rwxr-xr-x | 1.4 KB |
stop-history-server.sh | -rwxr-xr-x | 1.0 KB |
stop-master.sh | -rwxr-xr-x | 1.1 KB |
stop-mesos-dispatcher.sh | -rwxr-xr-x | 1.2 KB |
stop-mesos-shuffle-service.sh | -rwxr-xr-x | 1.1 KB |
stop-shuffle-service.sh | -rwxr-xr-x | 1.0 KB |
stop-slave.sh | -rwxr-xr-x | 1.5 KB |
stop-slaves.sh | -rwxr-xr-x | 1.0 KB |
stop-thriftserver.sh | -rwxr-xr-x | 1.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...