[ https://issues.apache.org/jira/browse/HIVE-20692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16641302#comment-16641302 ]
Hive QA commented on HIVE-20692: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12942691/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), 15064 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.ql.TestTxnCommands2WithSplitUpdateAndVectorization.testDynamicPartitionsMerge (batchId=313) org.apache.hadoop.hive.ql.TestTxnCommands2WithSplitUpdateAndVectorization.testInsertOverwrite1 (batchId=313) org.apache.hadoop.hive.ql.TestTxnCommands2WithSplitUpdateAndVectorization.testInsertOverwrite2 (batchId=313) org.apache.hadoop.hive.ql.TestTxnCommands2WithSplitUpdateAndVectorization.testMmTableCompaction (batchId=313) org.apache.hadoop.hive.ql.TestTxnCommands2WithSplitUpdateAndVectorization.testOpenTxnsCounter (batchId=313) org.apache.hadoop.hive.ql.TestTxnCommands2WithSplitUpdateAndVectorization.testOrcNoPPD (batchId=313) org.apache.hadoop.hive.ql.TestTxnCommands2WithSplitUpdateAndVectorization.testUpdateMixedCase (batchId=313) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/14302/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14302/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14302/ 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: 12942691 - 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 > > > 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)