[
https://issues.apache.org/jira/browse/HIVE-20692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16641884#comment-16641884
]
Hive QA commented on HIVE-20692:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12942780/HIVE-20692.01.patch
{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.
{color:green}SUCCESS:{color} +1 due to 15064 tests passed
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/14313/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14313/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14313/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12942780 - PreCommit-HIVE-Build
> Enable folding of NOT x IS (NOT) [TRUE|FALSE] expressions
> ---------------------------------------------------------
>
> Key: HIVE-20692
> URL: https://issues.apache.org/jira/browse/HIVE-20692
> Project: Hive
> Issue Type: Improvement
> Components: CBO
> Reporter: Zoltan Haindrich
> Assignee: Zoltan Haindrich
> Priority: Major
> Attachments: HIVE-20692.01.patch, HIVE-20692.01.patch,
> HIVE-20692.01.patch
>
>
> Expressions like: {{not ((a>0) is not true)}} could be rewritten to {{(a>0)
> is true}}.
> However currently this doesn't happen because some of these functions are not
> translated for Calcite.
> {code}
> create table t (a integer);
> explain select not ((a>0) is not true) from t group by a;
> [...]
> expressions: (not (_col0 > 0) is not true) (type: boolean) |
> [...]
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)