[ https://issues.apache.org/jira/browse/HIVE-8492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14175511#comment-14175511 ]
Hive QA commented on HIVE-8492: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12675531/HIVE-8492.patch {color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 6565 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_cbo_correctness org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_ql_rewrite_gbtoidx {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1320/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1320/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-1320/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 2 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12675531 - PreCommit-HIVE-TRUNK-Build > Enhance Constant Folding to propagate constants for simple expressions > ----------------------------------------------------------------------- > > Key: HIVE-8492 > URL: https://issues.apache.org/jira/browse/HIVE-8492 > Project: Hive > Issue Type: Improvement > Components: Logical Optimizer > Affects Versions: 0.14.0 > Reporter: Ashutosh Chauhan > Assignee: Ashutosh Chauhan > Attachments: HIVE-8492.patch > > > currently it propagates only for projects, can be enhanced to propagate for > simple expressions like casts, e.g, > {code} > SELECT src1.key, src1.key + 1, src2.value FROM src src1 join src src2 ON > src1.key = src2.key AND cast(src1.key as double) = 86; > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)