[
https://issues.apache.org/jira/browse/HIVE-4931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashutosh Chauhan updated HIVE-4931:
-----------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Committed to branch. Thanks, Remus!
> MAX/MIN aggregates yield incorrect results
> ------------------------------------------
>
> Key: HIVE-4931
> URL: https://issues.apache.org/jira/browse/HIVE-4931
> Project: Hive
> Issue Type: Sub-task
> Components: Query Processor
> Affects Versions: vectorization-branch
> Reporter: Remus Rusanu
> Assignee: Remus Rusanu
> Priority: Minor
> Fix For: vectorization-branch
>
> Attachments: HIVE-4931.1.patch
>
>
> With the dataset attached by Tony, running:
>
> select max(ctinyint), max(csmallint), max(cint), max(cbigint), max(cfloat),
> max(cdouble) from alltypes_orc;
>
> this is the result in rowmode:
> OK
> 62 16379 1073737829 2146661184 62.0 16376.0
>
> This is the result in vector mode:
> OK
> 1 16379 1071926788 -106115134 62.0 16361.0
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira