[ https://issues.apache.org/jira/browse/HIVE-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edward Capriolo updated HIVE-3048: ---------------------------------- Affects Version/s: 0.8.1 Status: Patch Available (was: Open) > Collect_set Aggregate does uneccesary check for value. > ------------------------------------------------------ > > Key: HIVE-3048 > URL: https://issues.apache.org/jira/browse/HIVE-3048 > Project: Hive > Issue Type: Improvement > Affects Versions: 0.8.1 > Reporter: Edward Capriolo > Assignee: Edward Capriolo > Attachments: HIVE-3048.patch.1.txt > > > Sets already de-duplicate for free no need for existence check. > {noformat} > private void putIntoSet(Object p, MkArrayAggregationBuffer myagg) { > if (myagg.container.contains(p)) > return; > Object pCopy = ObjectInspectorUtils.copyToStandardObject(p, > this.inputOI); > myagg.container.add(pCopy); > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira