You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Lijun Cao (JIRA)" <ji...@apache.org> on 2018/09/24 07:26:00 UTC
[jira] [Assigned] (KYLIN-3580)
CuboidStatsUtil#complementRowCountForMandatoryCuboids uses entrySet to add
elements
[ https://issues.apache.org/jira/browse/KYLIN-3580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lijun Cao reassigned KYLIN-3580:
--------------------------------
Assignee: Lijun Cao
> CuboidStatsUtil#complementRowCountForMandatoryCuboids uses entrySet to add elements
> -----------------------------------------------------------------------------------
>
> Key: KYLIN-3580
> URL: https://issues.apache.org/jira/browse/KYLIN-3580
> Project: Kylin
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Lijun Cao
> Priority: Major
>
> Here is related code:
> {code}
> sortedStatsSet.addAll(statistics.entrySet());
> {code}
> The entrySet() method is allowed to return a view of the underlying Map in which a single Entry object is reused and returned during the iteration.
> When iterating through such a Map, the Entry value is only valid until you advance to the next iteration.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)