[ 
https://issues.apache.org/jira/browse/HIVE-7067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13999181#comment-13999181
 ] 

Hive QA commented on HIVE-7067:
-------------------------------



{color:red}Overall{color}: -1 no tests executed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12644976/HIVE-7067.2.patch

Test results: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/199/testReport
Console output: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/199/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12644976

> 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)

Reply via email to