[ https://issues.apache.org/jira/browse/HIVE-7399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Navis updated HIVE-7399: ------------------------ Description: Most of primitive types are non-mutable, so copyToStandardObject retuns input object as-is. But for Timestamp objects, it's used something like wrapper and inside value changed by hive. copyToStandardObject should return real copy of them. (was: Most of primitive types are non-mutable, so copyToStandardObject retuns input object as-is. But for Timestamp objects, it's used something like wrapper and changed value by hive. copyToStandardObject should real copy for them.) > Timestamp type is not copied by ObjectInspectorUtils.copyToStandardObject > ------------------------------------------------------------------------- > > Key: HIVE-7399 > URL: https://issues.apache.org/jira/browse/HIVE-7399 > Project: Hive > Issue Type: Bug > Components: Query Processor > Reporter: Navis > Assignee: Navis > Fix For: 0.14.0 > > Attachments: HIVE-7399.1.patch.txt, HIVE-7399.2.patch.txt, > HIVE-7399.3.patch.txt > > > Most of primitive types are non-mutable, so copyToStandardObject retuns input > object as-is. But for Timestamp objects, it's used something like wrapper and > inside value changed by hive. copyToStandardObject should return real copy of > them. -- This message was sent by Atlassian JIRA (v6.3.4#6332)