[ https://issues.apache.org/jira/browse/HIVE-18006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16242981#comment-16242981 ]
Prasanth Jayachandran edited comment on HIVE-18006 at 11/7/17 9:57 PM: ----------------------------------------------------------------------- Makes sense. Removed getNumZeroes from hashcode and equals. was (Author: prasanth_j): Makes sense. Remove getNumZeroes from hashcode and equals. > Optimize memory footprint of HLLDenseRegister > --------------------------------------------- > > Key: HIVE-18006 > URL: https://issues.apache.org/jira/browse/HIVE-18006 > Project: Hive > Issue Type: Bug > Affects Versions: 3.0.0 > Reporter: Prasanth Jayachandran > Assignee: Prasanth Jayachandran > Attachments: HIVE-18006.1.patch, HIVE-18006.2.patch > > > {code} > private double[] invPow2Register; > {code} > seems to add up memory when caching column stats (#table * #partition * > #cols). This register can be pre-computed and stored as constant. -- This message was sent by Atlassian JIRA (v6.4.14#64029)