GitHub user davies opened a pull request:
https://github.com/apache/spark/pull/12338
[SPARK-14578] [SQL] Fix codegen for CreateExternalRow with nested wide
schema
## What changes were proposed in this pull request?
The wide schema, the expression of fields will be splitted into multiple
functions, but the variable for loopVar can't be accessed in splitted
functions, this PR change them as class member.
## How was this patch tested?
Added regression test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/davies/spark nested_row
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12338.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 #12338
----
commit 1c42e2cea681dc29977586850f6b7bf4859a92e6
Author: Davies Liu <[email protected]>
Date: 2016-04-12T21:03:49Z
fix codegen of nested CreateExternalRow
commit 4a472de18a1973ad9256eb8746f72b7114fa4e6b
Author: Davies Liu <[email protected]>
Date: 2016-04-12T21:49:43Z
regression tests
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]