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)

Reply via email to