[ https://issues.apache.org/jira/browse/HIVE-9015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14233731#comment-14233731 ]
Ashutosh Chauhan commented on HIVE-9015: ---------------------------------------- Similarly, {code} hive> explain select (null + a) from t1; TableScan Select Operator expressions: (null + a) (type: double) {code} expression here can also be replaced with null > Constant Folding optimizer doesn't handle expressions involving null > -------------------------------------------------------------------- > > Key: HIVE-9015 > URL: https://issues.apache.org/jira/browse/HIVE-9015 > Project: Hive > Issue Type: Task > Reporter: Ashutosh Chauhan > > Expressions which are guaranteed to evaluate to {{null}} aren't folded by > optimizer yet. -- This message was sent by Atlassian JIRA (v6.3.4#6332)