[ https://issues.apache.org/jira/browse/HIVE-22236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938287#comment-16938287 ]
Hive QA commented on HIVE-22236: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12981364/HIVE-22236.02.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 17008 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[create_view_disable_cbo] (batchId=42) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/18735/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/18735/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-18735/ 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: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12981364 - PreCommit-HIVE-Build > Fail to create View selecting View containing NOT IN subquery > ------------------------------------------------------------- > > Key: HIVE-22236 > URL: https://issues.apache.org/jira/browse/HIVE-22236 > Project: Hive > Issue Type: Bug > Reporter: Zoltan Matyus > Assignee: Zoltan Matyus > Priority: Minor > Attachments: HIVE-22236.01.patch, HIVE-22236.02.patch, HIVE-22236.q > > > * Given a complicated view with a select statement that has subquery > containing "{{NOT IN}}" > * Hive fails to create a simple view as {{SELECT * FROM complicated_view}} > * (with CBO disabled). > The unparse replacements of the complicated view will be applied to the text > of the simple view, resulting in {{IllegalArgumentException: replace: range > invalid}} exceptions from {{org.antlr.runtime.TokenRewriteStream.replace}}. -- This message was sent by Atlassian Jira (v8.3.4#803005)