[ https://issues.apache.org/jira/browse/HIVE-5560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Chauhan updated HIVE-5560: ----------------------------------- Resolution: Fixed Fix Version/s: 0.13.0 Status: Resolved (was: Patch Available) Committed to trunk. Thanks, Navis! > Hive produces incorrect results on multi-distinct query > ------------------------------------------------------- > > Key: HIVE-5560 > URL: https://issues.apache.org/jira/browse/HIVE-5560 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.11.0, 0.12.0 > Reporter: Vikram Dixit K > Assignee: Navis > Fix For: 0.13.0 > > Attachments: D13599.1.patch, D13599.2.patch > > > {noformat} > select key, count(distinct key) + count(distinct value) from src tablesample > (10 ROWS) group by key > POSTHOOK: type: QUERY > POSTHOOK: Input: default@src > #### A masked pattern was here #### > 165 1 > val_165 1 > 238 1 > val_238 1 > 255 1 > val_255 1 > 27 1 > val_27 1 > 278 1 > val_278 1 > 311 1 > val_311 1 > 409 1 > val_409 1 > 484 1 > val_484 1 > 86 1 > val_86 1 > 98 1 > val_98 1 > {noformat} -- This message was sent by Atlassian JIRA (v6.1#6144)