Seonggon Namgung created HIVE-28556:
---------------------------------------

             Summary: 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


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)

Reply via email to