[ https://issues.apache.org/jira/browse/HIVE-20598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zoltan Haindrich reassigned HIVE-20598: --------------------------------------- > Fix computeSortMergeCPUCost calculation > --------------------------------------- > > Key: HIVE-20598 > URL: https://issues.apache.org/jira/browse/HIVE-20598 > Project: Hive > Issue Type: Bug > Components: Logical Optimizer > Reporter: Zoltan Haindrich > Assignee: Zoltan Haindrich > Priority: Major > > HIVE-10343 have made the costs changeable by hiveconf settings; however there > was a method in which there was already a local variable named > cpuCost....bottom line is the cost of n-way joins calculated by this method > is computed as the product of the number of rows... > https://github.com/apache/hive/blob/9c907769a63a6b23c91fdf0b3f3d0aa6387035dc/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/cost/HiveAlgorithmsUtil.java#L83 -- This message was sent by Atlassian JIRA (v7.6.3#76005)