[ https://issues.apache.org/jira/browse/HIVE-21231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16802313#comment-16802313 ]
Hive QA commented on HIVE-21231: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12963779/HIVE-21231.04.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/16700/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/16700/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-16700/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Tests exited with: Exception: Patch URL https://issues.apache.org/jira/secure/attachment/12963779/HIVE-21231.04.patch was found in seen patch url's cache and a test was probably run already on it. Aborting... {noformat} This message is automatically generated. ATTACHMENT ID: 12963779 - PreCommit-HIVE-Build > HiveJoinAddNotNullRule support for range predicates > --------------------------------------------------- > > Key: HIVE-21231 > URL: https://issues.apache.org/jira/browse/HIVE-21231 > Project: Hive > Issue Type: Improvement > Components: CBO > Reporter: Jesus Camacho Rodriguez > Assignee: Miklos Gergely > Priority: Major > Labels: newbie > Attachments: HIVE-21231.01.patch, HIVE-21231.02.patch, > HIVE-21231.03.patch, HIVE-21231.04.patch > > > For instance, given the following query: > {code:sql} > SELECT t0.col0, t0.col1 > FROM > ( > SELECT col0, col1 FROM tab > ) AS t0 > INNER JOIN > ( > SELECT col0, col1 FROM tab > ) AS t1 > ON t0.col0 < t1.col0 AND t0.col1 > t1.col1 > {code} > we could still infer that col0 and col1 cannot be null for any of the inputs. > Currently we do not. -- This message was sent by Atlassian JIRA (v7.6.3#76005)