You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zoltan Haindrich (JIRA)" <ji...@apache.org> on 2017/09/18 17:33:00 UTC

[jira] [Created] (HIVE-17551) HiveReduceExpressionsWithStatsRule should handle when stats are not available

Zoltan Haindrich created HIVE-17551:
---------------------------------------

             Summary: HiveReduceExpressionsWithStatsRule should handle when stats are not available
                 Key: HIVE-17551
                 URL: https://issues.apache.org/jira/browse/HIVE-17551
             Project: Hive
          Issue Type: Bug
            Reporter: Zoltan Haindrich


it seems to me that it might be possible that in case stats  are not available; then instead of those null checks; the array will be empty - and a AIOBE will be raised...

https://github.com/apache/hive/blob/a51ae9c8f5700638d0cc8c1d7f085ebf061f996f/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveReduceExpressionsWithStatsRule.java#L267





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)