You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/09/16 10:04:45 UTC

[jira] [Updated] (SPARK-5738) Reuse mutable row for each record at jsonStringToRow

     [ https://issues.apache.org/jira/browse/SPARK-5738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen updated SPARK-5738:
-----------------------------
    Assignee: Yanbo Liang

> Reuse mutable row for each record at jsonStringToRow
> ----------------------------------------------------
>
>                 Key: SPARK-5738
>                 URL: https://issues.apache.org/jira/browse/SPARK-5738
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 1.3.0
>            Reporter: Yanbo Liang
>            Assignee: Yanbo Liang
>
> Other table scan like operations include ParquetTableScan, HiveTableScan use a reusable mutable row for seralization to decrease garbage. We also make JSONRelation#buildScan() with this optimization.
> When serialize json string to row, reuse a mutable row for both each record and inner nested structure instead of creating a new one for each. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org