[
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)