[ 
https://issues.apache.org/jira/browse/HIVE-17417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16242611#comment-16242611
 ] 

Ashutosh Chauhan commented on HIVE-17417:
-----------------------------------------

[~prasanthj] If joda time and jdk8 formatter are close enough in performance, 
then lets pick java8. Its true that we have a dependency on joda but now with 
java.time package in jdk8 there is no longer a need for that and over time we 
shall get rid of that dependency.

> LazySimple Timestamp is very expensive
> --------------------------------------
>
>                 Key: HIVE-17417
>                 URL: https://issues.apache.org/jira/browse/HIVE-17417
>             Project: Hive
>          Issue Type: Bug
>          Components: Serializers/Deserializers
>    Affects Versions: 3.0.0, 2.4.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>            Priority: Critical
>         Attachments: HIVE-17417.1.patch, HIVE-17417.2.patch, 
> HIVE-17417.3.patch, HIVE-17417.4.patch, date-serialize.png, 
> timestamp-serialize.png, ts-jmh-perf.png
>
>
> In a specific case where a schema contains array<struct> with timestamp and 
> date fields (array size >10000). Any access to this column very very 
> expensive in terms of CPU as most of the time is serialization of timestamp 
> and date. Refer attached profiles. >70% time spent in serialization + 
> tostring conversions. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to