[ 
https://issues.apache.org/jira/browse/HIVE-20692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16640589#comment-16640589
 ] 

Hive QA commented on HIVE-20692:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12942540/HIVE-20692.01.patch

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 15027 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_dynamic_partition_pruning_recursive_mapjoin]
 (batchId=189)
org.apache.hadoop.hive.ql.exec.spark.TestSparkSessionTimeout.testMultiSparkSessionTimeout
 (batchId=246)
org.apache.hive.jdbc.TestJdbcWithMiniLlapArrow.testComplexQuery (batchId=252)
org.apache.hive.jdbc.TestJdbcWithMiniLlapArrow.testDataTypes (batchId=252)
org.apache.hive.jdbc.TestJdbcWithMiniLlapArrow.testEscapedStrings (batchId=252)
org.apache.hive.jdbc.TestJdbcWithMiniLlapArrow.testLlapInputFormatEndToEnd 
(batchId=252)
org.apache.hive.jdbc.TestJdbcWithMiniLlapArrow.testNonAsciiStrings (batchId=252)
{noformat}

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/14266/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14266/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14266/

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
Tests exited with: TestsFailedException: 7 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12942540 - 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
>
>
> 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)

Reply via email to