You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/10/09 16:23:00 UTC

[jira] [Updated] (HIVE-28556) StatsRulesProcFactory.applyRuntimeStats() unnecessarily calls Statistics.clone().

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

ASF GitHub Bot updated HIVE-28556:
----------------------------------
    Labels: pull-request-available  (was: )

> StatsRulesProcFactory.applyRuntimeStats() unnecessarily calls Statistics.clone().
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-28556
>                 URL: https://issues.apache.org/jira/browse/HIVE-28556
>             Project: Hive
>          Issue Type: Improvement
>      Security Level: Public(Viewable by anyone) 
>            Reporter: Seonggon Namgung
>            Assignee: Seonggon Namgung
>            Priority: Major
>              Labels: pull-request-available
>
> Current StatsRulesProcFactory.applyRuntimeStats() clones original stats and then calls scaleToRowCount() on it.
> But Statistics.scaleToRowCount() always returns a clone of itself, so we don't have to clone the original stats in StatsRulesProcFactory.applyRuntimeStats().



--
This message was sent by Atlassian Jira
(v8.20.10#820010)