Zoltan Haindrich created HIVE-23090: ---------------------------------------
Summary: Introduce a model to describe sub-expression's stat state Key: HIVE-23090 URL: https://issues.apache.org/jira/browse/HIVE-23090 Project: Hive Issue Type: Improvement Reporter: Zoltan Haindrich Assignee: Zoltan Haindrich In [StatsRulesProcFactory|https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/optimizer/stats/annotation/StatsRulesProcFactory.java] right now the computation is based on functions which return values of numRows; with the extension that the called method may sometimes alter the passed Statistics object - this makes the logic a bit trickier here and there - having a real model for a subexpression could give natural benefits and may help in fixing issues like: HIVE-22238, HIVE-23082 -- This message was sent by Atlassian Jira (v8.3.4#803005)