[ https://issues.apache.org/jira/browse/HIVE-4686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13681302#comment-13681302 ]
Remus Rusanu commented on HIVE-4686: ------------------------------------ Similar to HIVE-4612. The emitted aggregate values for MIN/MAX are incorrect. They should be the same writable type as the input expression. > Max on float returning wrong results > ------------------------------------ > > Key: HIVE-4686 > URL: https://issues.apache.org/jira/browse/HIVE-4686 > Project: Hive > Issue Type: Sub-task > Affects Versions: vectorization-branch > Reporter: Tony Murphy > Assignee: Remus Rusanu > Fix For: vectorization-branch > > Attachments: max_data.zip > > > Text and Orc returning: 1.4499999 > Vectorized Orc Returning: 0.1 > {noformat} > drop table LINEITEM_ORC; > create external table LINEITEM_ORC(L_DISCOUNT float ) > ROW FORMAT SERDE 'org.apache.hadoop.hive.ql.io.orc.OrcSerde' > STORED AS > INPUTFORMAT > 'org.apache.hadoop.hive.ql.io.orc.CommonOrcInputFormat' > OUTPUTFORMAT > 'org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat'; > {noformat} > {noformat} > SELECT max(l_discount) > FROM LINEITEM_ORC > {noformat} -- 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