[jira] [Updated] (HIVE-7067) Min() and Max() on Timestamp and Date columns for ORC returns wrong results
[ https://issues.apache.org/jira/browse/HIVE-7067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sushanth Sowmyan updated HIVE-7067: --- Fix Version/s: 0.13.1 Min() and Max() on Timestamp and Date columns for ORC returns wrong results --- Key: HIVE-7067 URL: https://issues.apache.org/jira/browse/HIVE-7067 Project: Hive Issue Type: Bug Reporter: Prasanth J Assignee: Prasanth J Priority: Critical Fix For: 0.14.0, 0.13.1 Attachments: HIVE-7067.1.patch, HIVE-7067.2.patch, HIVE-7067.branch-13.2.patch min() and max() of timestamp and date columns of ORC table returns wrong results. The reason for that is when ORC creates object inspectors for date and timestamp it uses JAVA primitive objects as opposed to WRITABLE objects. When get() is performed on java primitive objects, a reference to the underlying object is returned whereas when get() is performed on writable objects, a copy of the underlying object is returned. Fix is to change the object inspector creation to return writable objects for timestamp and date. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HIVE-7067) Min() and Max() on Timestamp and Date columns for ORC returns wrong results
[ https://issues.apache.org/jira/browse/HIVE-7067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasanth J updated HIVE-7067: - Attachment: HIVE-7067.branch-13.2.patch Thanks Thejas for running the tests! Attaching patch that applies cleanly on branch-0.13. Min() and Max() on Timestamp and Date columns for ORC returns wrong results --- Key: HIVE-7067 URL: https://issues.apache.org/jira/browse/HIVE-7067 Project: Hive Issue Type: Bug Reporter: Prasanth J Assignee: Prasanth J Priority: Critical Attachments: HIVE-7067.1.patch, HIVE-7067.2.patch, HIVE-7067.branch-13.2.patch min() and max() of timestamp and date columns of ORC table returns wrong results. The reason for that is when ORC creates object inspectors for date and timestamp it uses JAVA primitive objects as opposed to WRITABLE objects. When get() is performed on java primitive objects, a reference to the underlying object is returned whereas when get() is performed on writable objects, a copy of the underlying object is returned. Fix is to change the object inspector creation to return writable objects for timestamp and date. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HIVE-7067) Min() and Max() on Timestamp and Date columns for ORC returns wrong results
[ https://issues.apache.org/jira/browse/HIVE-7067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasanth J updated HIVE-7067: - Fix Version/s: 0.14.0 Min() and Max() on Timestamp and Date columns for ORC returns wrong results --- Key: HIVE-7067 URL: https://issues.apache.org/jira/browse/HIVE-7067 Project: Hive Issue Type: Bug Reporter: Prasanth J Assignee: Prasanth J Priority: Critical Fix For: 0.14.0 Attachments: HIVE-7067.1.patch, HIVE-7067.2.patch, HIVE-7067.branch-13.2.patch min() and max() of timestamp and date columns of ORC table returns wrong results. The reason for that is when ORC creates object inspectors for date and timestamp it uses JAVA primitive objects as opposed to WRITABLE objects. When get() is performed on java primitive objects, a reference to the underlying object is returned whereas when get() is performed on writable objects, a copy of the underlying object is returned. Fix is to change the object inspector creation to return writable objects for timestamp and date. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HIVE-7067) Min() and Max() on Timestamp and Date columns for ORC returns wrong results
[ https://issues.apache.org/jira/browse/HIVE-7067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasanth J updated HIVE-7067: - Resolution: Fixed Status: Resolved (was: Patch Available) Min() and Max() on Timestamp and Date columns for ORC returns wrong results --- Key: HIVE-7067 URL: https://issues.apache.org/jira/browse/HIVE-7067 Project: Hive Issue Type: Bug Reporter: Prasanth J Assignee: Prasanth J Priority: Critical Attachments: HIVE-7067.1.patch, HIVE-7067.2.patch, HIVE-7067.branch-13.2.patch min() and max() of timestamp and date columns of ORC table returns wrong results. The reason for that is when ORC creates object inspectors for date and timestamp it uses JAVA primitive objects as opposed to WRITABLE objects. When get() is performed on java primitive objects, a reference to the underlying object is returned whereas when get() is performed on writable objects, a copy of the underlying object is returned. Fix is to change the object inspector creation to return writable objects for timestamp and date. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HIVE-7067) Min() and Max() on Timestamp and Date columns for ORC returns wrong results
[ https://issues.apache.org/jira/browse/HIVE-7067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasanth J updated HIVE-7067: - Attachment: HIVE-7067.2.patch Addressed [~jdere]'s review comments. Min() and Max() on Timestamp and Date columns for ORC returns wrong results --- Key: HIVE-7067 URL: https://issues.apache.org/jira/browse/HIVE-7067 Project: Hive Issue Type: Bug Reporter: Prasanth J Assignee: Prasanth J Priority: Critical Attachments: HIVE-7067.1.patch, HIVE-7067.2.patch min() and max() of timestamp and date columns of ORC table returns wrong results. The reason for that is when ORC creates object inspectors for date and timestamp it uses JAVA primitive objects as opposed to WRITABLE objects. When get() is performed on java primitive objects, a reference to the underlying object is returned whereas when get() is performed on writable objects, a copy of the underlying object is returned. Fix is to change the object inspector creation to return writable objects for timestamp and date. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HIVE-7067) Min() and Max() on Timestamp and Date columns for ORC returns wrong results
[ https://issues.apache.org/jira/browse/HIVE-7067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasanth J updated HIVE-7067: - Priority: Critical (was: Major) Min() and Max() on Timestamp and Date columns for ORC returns wrong results --- Key: HIVE-7067 URL: https://issues.apache.org/jira/browse/HIVE-7067 Project: Hive Issue Type: Bug Reporter: Prasanth J Assignee: Prasanth J Priority: Critical Attachments: HIVE-7067.1.patch min() and max() of timestamp and date columns of ORC table returns wrong results. The reason for that is when ORC creates object inspectors for date and timestamp it uses JAVA primitive objects as opposed to WRITABLE objects. When get() is performed on java primitive objects, a reference to the underlying object is returned whereas when get() is performed on writable objects, a copy of the underlying object is returned. Fix is to change the object inspector creation to return writable objects for timestamp and date. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HIVE-7067) Min() and Max() on Timestamp and Date columns for ORC returns wrong results
[ https://issues.apache.org/jira/browse/HIVE-7067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasanth J updated HIVE-7067: - Attachment: HIVE-7067.1.patch Min() and Max() on Timestamp and Date columns for ORC returns wrong results --- Key: HIVE-7067 URL: https://issues.apache.org/jira/browse/HIVE-7067 Project: Hive Issue Type: Bug Reporter: Prasanth J Assignee: Prasanth J Attachments: HIVE-7067.1.patch min() and max() of timestamp and date columns of ORC table returns wrong results. The reason for that is when ORC creates object inspectors for date and timestamp it uses JAVA primitive objects as opposed to WRITABLE objects. When get() is performed on java primitive objects, a reference to the underlying object is returned whereas when get() is performed on writable objects, a copy of the underlying object is returned. Fix is to change the object inspector creation to return writable objects for timestamp and date. -- This message was sent by Atlassian JIRA (v6.2#6252)