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

[jira] [Resolved] (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 ]

Michael Armbrust resolved SPARK-5738.
-------------------------------------
    Resolution: Fixed

> 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
>
> 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