[
https://issues.apache.org/jira/browse/HIVE-19726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prasanth Jayachandran updated HIVE-19726:
-----------------------------------------
Attachment: HIVE-19726.1.patch
> ORC date PPD is broken
> ----------------------
>
> Key: HIVE-19726
> URL: https://issues.apache.org/jira/browse/HIVE-19726
> Project: Hive
> Issue Type: Bug
> Affects Versions: 2.4.0, 3.1.0, 3.0.1, 4.0.0
> Reporter: Prasanth Jayachandran
> Assignee: Prasanth Jayachandran
> Priority: Major
> Attachments: HIVE-19726.1.patch
>
>
> When kryo was in version 2.22 we added a fix in HIVE-7222 and later in
> HIVE-10819. Now that we have updated kryo to 3.0.3 that old workaround fix
> was never removed. The issue was that kryo serialized Timestamp to Date type.
> So to recover the timestamp, during deserialization we deserialized *any*
> date instance to Timestamp object which is wrong (we don't know if date was
> serialized as date or timestamp serialized as date in first place). This
> breaks PPD on date time as kryo deserialization always converts Date to
> Timestamp breaking PPD because of type mismatch.
> Now that we have newer kryo version we can remove the code added in
> HIVE-10819.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)