GitHub user viirya opened a pull request:
https://github.com/apache/spark/pull/20981
[SPARK-23873][SQL] Use accessors in interpreted LambdaVariable
## What changes were proposed in this pull request?
Currently, interpreted execution of `LambdaVariable` just uses
`InternalRow.get` to access element. We should use specified accessors if
possible.
## How was this patch tested?
Added test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/viirya/spark-1 SPARK-23873
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20981.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 #20981
----
commit 35539be14bc79647409bfcdc5dac1fb99d00f5ec
Author: Liang-Chi Hsieh <viirya@...>
Date: 2018-04-05T03:57:17Z
Use accessors in interpreted LambdaVariable.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]