hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-17417) LazySimple Timestamp and Date serialization is very expensive
Date Fri, 01 Sep 2017 01:59:00 GMT

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

Prasanth Jayachandran updated HIVE-17417:
-----------------------------------------
    Attachment: ts-jmh-perf.png

Seeing 2.4x improvement in JMH microbenchmark.

> LazySimple Timestamp and Date serialization 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: date-serialize.png, HIVE-17417.1.patch, 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)

Mime
View raw message