GitHub user yanbohappy opened a pull request:
https://github.com/apache/spark/pull/4527
[SQL] Reuse mutable row for each record at jsonStringToRow
When serialize json string to row, reuse a mutable row for each record
instead of creating a new one for every record. But every nested struct type in
each record, we still need to create a new row for them.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yanbohappy/spark jsonStringToRowOptimization
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/4527.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 #4527
----
commit b0c2b145950c18e30a8e88086e018cb66931fbec
Author: Yanbo Liang <[email protected]>
Date: 2015-02-11T08:36:50Z
[SQL] Reuse mutable row for each record at jsonStringToRow
----
---
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]