You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/01/20 20:21:39 UTC

[jira] [Resolved] (SPARK-12925) Improve HiveInspectors.unwrap for StringObjectInspector.getPrimitiveWritableObject

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

Reynold Xin resolved SPARK-12925.
---------------------------------
       Resolution: Fixed
         Assignee: Rajesh Balamohan
    Fix Version/s: 2.0.0

> Improve HiveInspectors.unwrap for StringObjectInspector.getPrimitiveWritableObject
> ----------------------------------------------------------------------------------
>
>                 Key: SPARK-12925
>                 URL: https://issues.apache.org/jira/browse/SPARK-12925
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Rajesh Balamohan
>            Assignee: Rajesh Balamohan
>             Fix For: 2.0.0
>
>         Attachments: SPARK-12925_profiler_cpu_samples.png
>
>
> Text is in UTF-8 and converting it via "UTF8String.fromString" incurs decoding and encoding, which turns out to be expensive. (to be specific: https://github.com/apache/spark/blob/0d543b98f3e3da5053f0476f4647a765460861f3/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveInspectors.scala#L323)



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