[ https://issues.apache.org/jira/browse/HIVE-20503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16606743#comment-16606743 ]
Zoltan Haindrich commented on HIVE-20503: ----------------------------------------- ok; removing the optimized/fast decision from here would make it much straight forward - but even thru we are not switching between that; there are still differences between the datastructures used by fast - because it actually chooses from multiple datastrucures....these differences arise from the fact that the key is long vs composite - which may change the memory footprint as big as 2x - HIVE-20513 will probably change it a bit.... I think it would be good to keep these estimations....and use the right one - but remove the fast/optimized switch. > Use datastructure aware estimations during mapjoin selection > ------------------------------------------------------------ > > Key: HIVE-20503 > URL: https://issues.apache.org/jira/browse/HIVE-20503 > Project: Hive > Issue Type: Bug > Components: Statistics > Reporter: Zoltan Haindrich > Assignee: Zoltan Haindrich > Priority: Major > Attachments: HIVE-20503.01.patch, HIVE-20503.01wip01.patch, > HIVE-20503.01wip01.patch, HIVE-20503.02.patch > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)