[jira] [Commented] (HIVE-20712) HivePointLookupOptimizer should extract deep cases
[ https://issues.apache.org/jira/browse/HIVE-20712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16647648#comment-16647648 ] Hive QA commented on HIVE-20712: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12943202/HIVE-20712.02.patch {color:green}SUCCESS:{color} +1 due to 2 test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 15077 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/14381/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14381/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14381/ 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 {noformat} This message is automatically generated. ATTACHMENT ID: 12943202 - PreCommit-HIVE-Build > HivePointLookupOptimizer should extract deep cases > -- > > Key: HIVE-20712 > URL: https://issues.apache.org/jira/browse/HIVE-20712 > Project: Hive > Issue Type: Improvement >Reporter: Zoltan Haindrich >Assignee: Zoltan Haindrich >Priority: Major > Attachments: HIVE-20712.01.patch, HIVE-20712.01.patch, > HIVE-20712.02.patch, HIVE-20712.02.patch > > > currently IN extraction stops at the first level; as a result for the > following query, the nested INs are not closed back. > {code} > create table t(a integer); > create table t2(b integer); > insert into t values (1),(2),(3),(4); > insert into t2 values (1),(2),(3),(4); > explain > select * from t,t2 where > a*a=b+3 > and > a in (1,2,3,4) > and > b in (1,2,3,4) > and ( > (a in (1,2) and b in (1,2) ) or > (a in (2,3) and b in (2,3) ) > ) > ; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20712) HivePointLookupOptimizer should extract deep cases
[ https://issues.apache.org/jira/browse/HIVE-20712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16647578#comment-16647578 ] Hive QA commented on HIVE-20712: | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 8m 9s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 4s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 39s{color} | {color:green} master passed {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 3m 55s{color} | {color:blue} ql in master has 2319 extant Findbugs warnings. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 59s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 1m 25s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 5s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 1m 5s{color} | {color:green} the patch passed {color} | | {color:red}-1{color} | {color:red} checkstyle {color} | {color:red} 0m 39s{color} | {color:red} ql: The patch generated 2 new + 86 unchanged - 13 fixed = 88 total (was 99) {color} | | {color:red}-1{color} | {color:red} whitespace {color} | {color:red} 0m 0s{color} | {color:red} The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <>. Refer https://git-scm.com/docs/git-apply {color} | | {color:red}-1{color} | {color:red} whitespace {color} | {color:red} 0m 0s{color} | {color:red} The patch 10 line(s) with tabs. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 4m 11s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 56s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 13s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 23m 50s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Optional Tests | asflicense javac javadoc findbugs checkstyle compile | | uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux | | Build tool | maven | | Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-14381/dev-support/hive-personality.sh | | git revision | master / bdbd3bc | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-14381/yetus/diff-checkstyle-ql.txt | | whitespace | http://104.198.109.242/logs//PreCommit-HIVE-Build-14381/yetus/whitespace-eol.txt | | whitespace | http://104.198.109.242/logs//PreCommit-HIVE-Build-14381/yetus/whitespace-tabs.txt | | modules | C: ql U: ql | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-14381/yetus.txt | | Powered by | Apache Yetushttp://yetus.apache.org | This message was automatically generated. > HivePointLookupOptimizer should extract deep cases > -- > > Key: HIVE-20712 > URL: https://issues.apache.org/jira/browse/HIVE-20712 > Project: Hive > Issue Type: Improvement >Reporter: Zoltan Haindrich >Assignee: Zoltan Haindrich >Priority: Major > Attachments: HIVE-20712.01.patch, HIVE-20712.01.patch, > HIVE-20712.02.patch, HIVE-20712.02.patch > > > currently IN extraction stops at the first level; as a result for the > following query, the nested INs are not closed back. > {code} > create table t(a integer); > create table t2(b integer); > insert into t values (1),(2),(3),(4); > insert into t2 values (1),(2),(3),(4); > explain > select * from t,t2 where > a*a=b+3 > and > a in (1,2,3,4) > and > b in (1,2,3,4) > and ( > (a in (1,2) and b in (1,2) ) or > (a in (2,3) and b in (2,3) ) > ) > ; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20712) HivePointLookupOptimizer should extract deep cases
[ https://issues.apache.org/jira/browse/HIVE-20712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16644628#comment-16644628 ] Hive QA commented on HIVE-20712: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12942955/HIVE-20712.02.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/14345/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14345/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14345/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Tests exited with: Exception: Patch URL https://issues.apache.org/jira/secure/attachment/12942955/HIVE-20712.02.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: 12942955 - PreCommit-HIVE-Build > HivePointLookupOptimizer should extract deep cases > -- > > Key: HIVE-20712 > URL: https://issues.apache.org/jira/browse/HIVE-20712 > Project: Hive > Issue Type: Improvement >Reporter: Zoltan Haindrich >Assignee: Zoltan Haindrich >Priority: Major > Attachments: HIVE-20712.01.patch, HIVE-20712.01.patch, > HIVE-20712.02.patch > > > currently IN extraction stops at the first level; as a result for the > following query, the nested INs are not closed back. > {code} > create table t(a integer); > create table t2(b integer); > insert into t values (1),(2),(3),(4); > insert into t2 values (1),(2),(3),(4); > explain > select * from t,t2 where > a*a=b+3 > and > a in (1,2,3,4) > and > b in (1,2,3,4) > and ( > (a in (1,2) and b in (1,2) ) or > (a in (2,3) and b in (2,3) ) > ) > ; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20712) HivePointLookupOptimizer should extract deep cases
[ https://issues.apache.org/jira/browse/HIVE-20712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16643079#comment-16643079 ] Hive QA commented on HIVE-20712: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12942955/HIVE-20712.02.patch {color:green}SUCCESS:{color} +1 due to 2 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 15066 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udaf_histogram_numeric] (batchId=14) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/14328/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14328/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14328/ 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: 12942955 - PreCommit-HIVE-Build > HivePointLookupOptimizer should extract deep cases > -- > > Key: HIVE-20712 > URL: https://issues.apache.org/jira/browse/HIVE-20712 > Project: Hive > Issue Type: Improvement >Reporter: Zoltan Haindrich >Assignee: Zoltan Haindrich >Priority: Major > Attachments: HIVE-20712.01.patch, HIVE-20712.01.patch, > HIVE-20712.02.patch > > > currently IN extraction stops at the first level; as a result for the > following query, the nested INs are not closed back. > {code} > create table t(a integer); > create table t2(b integer); > insert into t values (1),(2),(3),(4); > insert into t2 values (1),(2),(3),(4); > explain > select * from t,t2 where > a*a=b+3 > and > a in (1,2,3,4) > and > b in (1,2,3,4) > and ( > (a in (1,2) and b in (1,2) ) or > (a in (2,3) and b in (2,3) ) > ) > ; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20712) HivePointLookupOptimizer should extract deep cases
[ https://issues.apache.org/jira/browse/HIVE-20712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16643045#comment-16643045 ] Hive QA commented on HIVE-20712: | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 8m 42s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 3s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 39s{color} | {color:green} master passed {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 3m 51s{color} | {color:blue} ql in master has 2320 extant Findbugs warnings. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 56s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 1m 25s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 3s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 1m 3s{color} | {color:green} the patch passed {color} | | {color:red}-1{color} | {color:red} checkstyle {color} | {color:red} 0m 40s{color} | {color:red} ql: The patch generated 2 new + 86 unchanged - 13 fixed = 88 total (was 99) {color} | | {color:red}-1{color} | {color:red} whitespace {color} | {color:red} 0m 0s{color} | {color:red} The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <>. Refer https://git-scm.com/docs/git-apply {color} | | {color:red}-1{color} | {color:red} whitespace {color} | {color:red} 0m 0s{color} | {color:red} The patch 10 line(s) with tabs. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 4m 0s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 55s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 13s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 23m 52s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Optional Tests | asflicense javac javadoc findbugs checkstyle compile | | uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux | | Build tool | maven | | Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-14328/dev-support/hive-personality.sh | | git revision | master / 1e048df | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-14328/yetus/diff-checkstyle-ql.txt | | whitespace | http://104.198.109.242/logs//PreCommit-HIVE-Build-14328/yetus/whitespace-eol.txt | | whitespace | http://104.198.109.242/logs//PreCommit-HIVE-Build-14328/yetus/whitespace-tabs.txt | | modules | C: ql U: ql | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-14328/yetus.txt | | Powered by | Apache Yetushttp://yetus.apache.org | This message was automatically generated. > HivePointLookupOptimizer should extract deep cases > -- > > Key: HIVE-20712 > URL: https://issues.apache.org/jira/browse/HIVE-20712 > Project: Hive > Issue Type: Improvement >Reporter: Zoltan Haindrich >Assignee: Zoltan Haindrich >Priority: Major > Attachments: HIVE-20712.01.patch, HIVE-20712.01.patch, > HIVE-20712.02.patch > > > currently IN extraction stops at the first level; as a result for the > following query, the nested INs are not closed back. > {code} > create table t(a integer); > create table t2(b integer); > insert into t values (1),(2),(3),(4); > insert into t2 values (1),(2),(3),(4); > explain > select * from t,t2 where > a*a=b+3 > and > a in (1,2,3,4) > and > b in (1,2,3,4) > and ( > (a in (1,2) and b in (1,2) ) or > (a in (2,3) and b in (2,3) ) > ) > ; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20712) HivePointLookupOptimizer should extract deep cases
[ https://issues.apache.org/jira/browse/HIVE-20712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16642783#comment-16642783 ] Hive QA commented on HIVE-20712: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12942854/HIVE-20712.01.patch {color:green}SUCCESS:{color} +1 due to 2 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 9 failed/errored test(s), 15066 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[filter_cond_pushdown] (batchId=65) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udaf_histogram_numeric] (batchId=14) org.apache.hadoop.hive.cli.TestSparkPerfCliDriver.testCliDriver[query13] (batchId=268) org.apache.hadoop.hive.cli.TestSparkPerfCliDriver.testCliDriver[query48] (batchId=268) org.apache.hadoop.hive.cli.TestSparkPerfCliDriver.testCliDriver[query85] (batchId=268) org.apache.hadoop.hive.cli.TestTezPerfCliDriver.testCliDriver[query13] (batchId=266) org.apache.hadoop.hive.cli.TestTezPerfCliDriver.testCliDriver[query48] (batchId=266) org.apache.hadoop.hive.cli.TestTezPerfCliDriver.testCliDriver[query85] (batchId=266) org.apache.hadoop.hive.ql.exec.spark.TestSparkSessionTimeout.testMultiSparkSessionTimeout (batchId=246) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/14324/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14324/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14324/ 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: 9 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12942854 - PreCommit-HIVE-Build > HivePointLookupOptimizer should extract deep cases > -- > > Key: HIVE-20712 > URL: https://issues.apache.org/jira/browse/HIVE-20712 > Project: Hive > Issue Type: Improvement >Reporter: Zoltan Haindrich >Assignee: Zoltan Haindrich >Priority: Major > Attachments: HIVE-20712.01.patch, HIVE-20712.01.patch > > > currently IN extraction stops at the first level; as a result for the > following query, the nested INs are not closed back. > {code} > create table t(a integer); > create table t2(b integer); > insert into t values (1),(2),(3),(4); > insert into t2 values (1),(2),(3),(4); > explain > select * from t,t2 where > a*a=b+3 > and > a in (1,2,3,4) > and > b in (1,2,3,4) > and ( > (a in (1,2) and b in (1,2) ) or > (a in (2,3) and b in (2,3) ) > ) > ; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20712) HivePointLookupOptimizer should extract deep cases
[ https://issues.apache.org/jira/browse/HIVE-20712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16642750#comment-16642750 ] Hive QA commented on HIVE-20712: | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 8m 10s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 0s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 40s{color} | {color:green} master passed {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 3m 57s{color} | {color:blue} ql in master has 2320 extant Findbugs warnings. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 57s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 1m 23s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 9s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 1m 9s{color} | {color:green} the patch passed {color} | | {color:red}-1{color} | {color:red} checkstyle {color} | {color:red} 0m 40s{color} | {color:red} ql: The patch generated 2 new + 86 unchanged - 13 fixed = 88 total (was 99) {color} | | {color:red}-1{color} | {color:red} whitespace {color} | {color:red} 0m 0s{color} | {color:red} The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <>. Refer https://git-scm.com/docs/git-apply {color} | | {color:red}-1{color} | {color:red} whitespace {color} | {color:red} 0m 0s{color} | {color:red} The patch 10 line(s) with tabs. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 4m 4s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 58s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 14s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 23m 42s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Optional Tests | asflicense javac javadoc findbugs checkstyle compile | | uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux | | Build tool | maven | | Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-14324/dev-support/hive-personality.sh | | git revision | master / 1e048df | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-14324/yetus/diff-checkstyle-ql.txt | | whitespace | http://104.198.109.242/logs//PreCommit-HIVE-Build-14324/yetus/whitespace-eol.txt | | whitespace | http://104.198.109.242/logs//PreCommit-HIVE-Build-14324/yetus/whitespace-tabs.txt | | modules | C: ql U: ql | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-14324/yetus.txt | | Powered by | Apache Yetushttp://yetus.apache.org | This message was automatically generated. > HivePointLookupOptimizer should extract deep cases > -- > > Key: HIVE-20712 > URL: https://issues.apache.org/jira/browse/HIVE-20712 > Project: Hive > Issue Type: Improvement >Reporter: Zoltan Haindrich >Assignee: Zoltan Haindrich >Priority: Major > Attachments: HIVE-20712.01.patch, HIVE-20712.01.patch > > > currently IN extraction stops at the first level; as a result for the > following query, the nested INs are not closed back. > {code} > create table t(a integer); > create table t2(b integer); > insert into t values (1),(2),(3),(4); > insert into t2 values (1),(2),(3),(4); > explain > select * from t,t2 where > a*a=b+3 > and > a in (1,2,3,4) > and > b in (1,2,3,4) > and ( > (a in (1,2) and b in (1,2) ) or > (a in (2,3) and b in (2,3) ) > ) > ; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20712) HivePointLookupOptimizer should extract deep cases
[ https://issues.apache.org/jira/browse/HIVE-20712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16642252#comment-16642252 ] Jesus Camacho Rodriguez commented on HIVE-20712: +1 (pending tests) > HivePointLookupOptimizer should extract deep cases > -- > > Key: HIVE-20712 > URL: https://issues.apache.org/jira/browse/HIVE-20712 > Project: Hive > Issue Type: Improvement >Reporter: Zoltan Haindrich >Assignee: Zoltan Haindrich >Priority: Major > Attachments: HIVE-20712.01.patch, HIVE-20712.01.patch > > > currently IN extraction stops at the first level; as a result for the > following query, the nested INs are not closed back. > {code} > create table t(a integer); > create table t2(b integer); > insert into t values (1),(2),(3),(4); > insert into t2 values (1),(2),(3),(4); > explain > select * from t,t2 where > a*a=b+3 > and > a in (1,2,3,4) > and > b in (1,2,3,4) > and ( > (a in (1,2) and b in (1,2) ) or > (a in (2,3) and b in (2,3) ) > ) > ; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)