kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaofeng SHI (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KYLIN-3579) entrySet iterator should be used in BPUSCalculator
Date Tue, 23 Oct 2018 08:27:00 GMT

     [ https://issues.apache.org/jira/browse/KYLIN-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shaofeng SHI resolved KYLIN-3579.
---------------------------------
    Resolution: Fixed

> entrySet iterator should be used in BPUSCalculator 
> ---------------------------------------------------
>
>                 Key: KYLIN-3579
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3579
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Chao Long
>            Priority: Minor
>             Fix For: v2.6.0
>
>
> BPUSCalculator.calculateBenefitTotal and BPUSCalculator.initCuboidAggCostMap use keySet
iterator where entrySet iterator should be used.
> {code}
>         for (Long cuboid : cuboidAggCostMapCopy.keySet()) {
>             if (cuboidAggCostMapCopy.get(cuboid) < processCuboidAggCostMap.get(cuboid))
{
> {code}
> CubeCodeSystem.newMetricsAggregators has similar issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message