Rajesh Balamohan created SPARK-12925:
----------------------------------------

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


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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to