[ https://issues.apache.org/jira/browse/HIVE-22107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16908819#comment-16908819 ]
Hive QA commented on HIVE-22107: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12977740/HIVE-22107.3.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 16740 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[materialized_view_create_rewrite_5] (batchId=161) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[subquery_scalar] (batchId=171) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[subquery_scalar] (batchId=130) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/18356/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/18356/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-18356/ 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: 3 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12977740 - PreCommit-HIVE-Build > Correlated subquery producing wrong schema > ------------------------------------------ > > Key: HIVE-22107 > URL: https://issues.apache.org/jira/browse/HIVE-22107 > Project: Hive > Issue Type: Bug > Components: Logical Optimizer > Affects Versions: 4.0.0 > Reporter: Vineet Garg > Assignee: Vineet Garg > Priority: Major > Attachments: HIVE-22107.1.patch, HIVE-22107.2.patch, > HIVE-22107.3.patch > > > *Repro* > {code:sql} > create table test(id int, name string,dept string); > insert into test values(1,'a','it'),(2,'b','eee'),(NULL, 'c', 'cse'); > select distinct 'empno' as eid, a.id from test a where NOT EXISTS (select > c.id from test c where a.id=c.id); > {code} > {code} > +-------+--------+ > | eid | a.id | > +-------+--------+ > | NULL | empno | > +-------+--------+ > {code} -- This message was sent by Atlassian JIRA (v7.6.14#76016)