You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2018/05/29 06:25:00 UTC

[jira] [Created] (HIVE-19726) ORC date PPD is broken

Prasanth Jayachandran created HIVE-19726:
--------------------------------------------

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


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)