[jira] [Commented] (HIVE-15673) Allow multiple queries with disjunction
[ https://issues.apache.org/jira/browse/HIVE-15673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15996377#comment-15996377 ] Lefty Leverenz commented on HIVE-15673: --- Okay, I've added a TODOC3.0 label. Thanks Vineet. > Allow multiple queries with disjunction > --- > > Key: HIVE-15673 > URL: https://issues.apache.org/jira/browse/HIVE-15673 > Project: Hive > Issue Type: Sub-task > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Labels: TODOC3.0 > Fix For: 3.0.0 > > Attachments: HIVE-15673.1.patch, HIVE-15673.2.patch, > HIVE-15673.3.patch, HIVE-15673.4.patch, HIVE-15673.5.patch, HIVE-15673.6.patch > > > HIVE currently doesn't allow multiple subqueries with {{OR}} since calcite > has a bug in determining logic for OR expression. See [CALCITE-1546 > |https://issues.apache.org/jira/browse/CALCITE-1546]. > Once calcite is released containing fix for the bug HIVE will need to lift > the restriction and add tests cases -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15673) Allow multiple queries with disjunction
[ https://issues.apache.org/jira/browse/HIVE-15673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15977822#comment-15977822 ] Vineet Garg commented on HIVE-15673: Hi [~leftylev] It will be good to document this limitation. IMHO Subqueries in the WHERE Clause is the most appropriate place to document this. > Allow multiple queries with disjunction > --- > > Key: HIVE-15673 > URL: https://issues.apache.org/jira/browse/HIVE-15673 > Project: Hive > Issue Type: Sub-task > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Fix For: 3.0.0 > > Attachments: HIVE-15673.1.patch, HIVE-15673.2.patch, > HIVE-15673.3.patch, HIVE-15673.4.patch, HIVE-15673.5.patch, HIVE-15673.6.patch > > > HIVE currently doesn't allow multiple subqueries with {{OR}} since calcite > has a bug in determining logic for OR expression. See [CALCITE-1546 > |https://issues.apache.org/jira/browse/CALCITE-1546]. > Once calcite is released containing fix for the bug HIVE will need to lift > the restriction and add tests cases -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15673) Allow multiple queries with disjunction
[ https://issues.apache.org/jira/browse/HIVE-15673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15976128#comment-15976128 ] Lefty Leverenz commented on HIVE-15673: --- Should this (and the original limitation) be documented in the wiki? If so, where does it belong? * [WHERE Clause | https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Select#LanguageManualSelect-WHEREClause] * [Subqueries in the WHERE Clause | https://cwiki.apache.org/confluence/display/Hive/LanguageManual+SubQueries#LanguageManualSubQueries-SubqueriesintheWHEREClause] * [Logical Operators | https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-LogicalOperators] > Allow multiple queries with disjunction > --- > > Key: HIVE-15673 > URL: https://issues.apache.org/jira/browse/HIVE-15673 > Project: Hive > Issue Type: Sub-task > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Fix For: 3.0.0 > > Attachments: HIVE-15673.1.patch, HIVE-15673.2.patch, > HIVE-15673.3.patch, HIVE-15673.4.patch, HIVE-15673.5.patch, HIVE-15673.6.patch > > > HIVE currently doesn't allow multiple subqueries with {{OR}} since calcite > has a bug in determining logic for OR expression. See [CALCITE-1546 > |https://issues.apache.org/jira/browse/CALCITE-1546]. > Once calcite is released containing fix for the bug HIVE will need to lift > the restriction and add tests cases -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15673) Allow multiple queries with disjunction
[ https://issues.apache.org/jira/browse/HIVE-15673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15975563#comment-15975563 ] Hive QA commented on HIVE-15673: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12864046/HIVE-15673.6.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), 10567 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[smb_mapjoin_3] (batchId=234) org.apache.hadoop.hive.cli.TestSparkCliDriver.org.apache.hadoop.hive.cli.TestSparkCliDriver (batchId=98) org.apache.hadoop.hive.ql.parse.TestParseNegativeDriver.testCliDriver[wrong_distinct2] (batchId=233) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/4767/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/4767/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-4767/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase 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: 12864046 - PreCommit-HIVE-Build > Allow multiple queries with disjunction > --- > > Key: HIVE-15673 > URL: https://issues.apache.org/jira/browse/HIVE-15673 > Project: Hive > Issue Type: Sub-task > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-15673.1.patch, HIVE-15673.2.patch, > HIVE-15673.3.patch, HIVE-15673.4.patch, HIVE-15673.5.patch, HIVE-15673.6.patch > > > HIVE currently doesn't allow multiple subqueries with {{OR}} since calcite > has a bug in determining logic for OR expression. See [CALCITE-1546 > |https://issues.apache.org/jira/browse/CALCITE-1546]. > Once calcite is released containing fix for the bug HIVE will need to lift > the restriction and add tests cases -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15673) Allow multiple queries with disjunction
[ https://issues.apache.org/jira/browse/HIVE-15673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15975168#comment-15975168 ] Vineet Garg commented on HIVE-15673: Yes that was unintentional. I have uploaded a new patch. > Allow multiple queries with disjunction > --- > > Key: HIVE-15673 > URL: https://issues.apache.org/jira/browse/HIVE-15673 > Project: Hive > Issue Type: Sub-task > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-15673.1.patch, HIVE-15673.2.patch, > HIVE-15673.3.patch, HIVE-15673.4.patch, HIVE-15673.5.patch, HIVE-15673.6.patch > > > HIVE currently doesn't allow multiple subqueries with {{OR}} since calcite > has a bug in determining logic for OR expression. See [CALCITE-1546 > |https://issues.apache.org/jira/browse/CALCITE-1546]. > Once calcite is released containing fix for the bug HIVE will need to lift > the restriction and add tests cases -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15673) Allow multiple queries with disjunction
[ https://issues.apache.org/jira/browse/HIVE-15673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15974954#comment-15974954 ] Ashutosh Chauhan commented on HIVE-15673: - +1 I guess you modified join32_lessSize.q unintentionally. > Allow multiple queries with disjunction > --- > > Key: HIVE-15673 > URL: https://issues.apache.org/jira/browse/HIVE-15673 > Project: Hive > Issue Type: Sub-task > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-15673.1.patch, HIVE-15673.2.patch, > HIVE-15673.3.patch, HIVE-15673.4.patch, HIVE-15673.5.patch > > > HIVE currently doesn't allow multiple subqueries with {{OR}} since calcite > has a bug in determining logic for OR expression. See [CALCITE-1546 > |https://issues.apache.org/jira/browse/CALCITE-1546]. > Once calcite is released containing fix for the bug HIVE will need to lift > the restriction and add tests cases -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15673) Allow multiple queries with disjunction
[ https://issues.apache.org/jira/browse/HIVE-15673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15974220#comment-15974220 ] Hive QA commented on HIVE-15673: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12863952/HIVE-15673.5.patch {color:green}SUCCESS:{color} +1 due to 2 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 10580 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[columnstats_part_coltype] (batchId=155) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[join32_lessSize] (batchId=143) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_if_expr] (batchId=143) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[join32_lessSize] (batchId=101) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/4753/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/4753/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-4753/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 4 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12863952 - PreCommit-HIVE-Build > Allow multiple queries with disjunction > --- > > Key: HIVE-15673 > URL: https://issues.apache.org/jira/browse/HIVE-15673 > Project: Hive > Issue Type: Sub-task > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-15673.1.patch, HIVE-15673.2.patch, > HIVE-15673.3.patch, HIVE-15673.4.patch, HIVE-15673.5.patch > > > HIVE currently doesn't allow multiple subqueries with {{OR}} since calcite > has a bug in determining logic for OR expression. See [CALCITE-1546 > |https://issues.apache.org/jira/browse/CALCITE-1546]. > Once calcite is released containing fix for the bug HIVE will need to lift > the restriction and add tests cases -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15673) Allow multiple queries with disjunction
[ https://issues.apache.org/jira/browse/HIVE-15673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15973821#comment-15973821 ] Hive QA commented on HIVE-15673: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12848970/HIVE-15673.4.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/4745/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/4745/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-4745/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Tests exited with: NonZeroExitCodeException Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit status 1 and output '+ date '+%Y-%m-%d %T.%3N' 2017-04-19 00:56:35.659 + [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]] + export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + export PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m ' + ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m ' + export 'MAVEN_OPTS=-Xmx1g ' + MAVEN_OPTS='-Xmx1g ' + cd /data/hiveptest/working/ + tee /data/hiveptest/logs/PreCommit-HIVE-Build-4745/source-prep.txt + [[ false == \t\r\u\e ]] + mkdir -p maven ivy + [[ git = \s\v\n ]] + [[ git = \g\i\t ]] + [[ -z master ]] + [[ -d apache-github-source-source ]] + [[ ! -d apache-github-source-source/.git ]] + [[ ! -d apache-github-source-source ]] + date '+%Y-%m-%d %T.%3N' 2017-04-19 00:56:35.663 + cd apache-github-source-source + git fetch origin + git reset --hard HEAD HEAD is now at 5aa257c HIVE-16462: Vectorization: Enabling hybrid grace disables specialization of all reduce side joins (Jason Dere, reviewed by gopalv) + git clean -f -d Removing common/src/java/org/apache/hadoop/hive/common/jsonexplain/Connection.java Removing common/src/java/org/apache/hadoop/hive/common/jsonexplain/DagJsonParser.java Removing common/src/java/org/apache/hadoop/hive/common/jsonexplain/DagJsonParserUtils.java Removing common/src/java/org/apache/hadoop/hive/common/jsonexplain/Op.java Removing common/src/java/org/apache/hadoop/hive/common/jsonexplain/Printer.java Removing common/src/java/org/apache/hadoop/hive/common/jsonexplain/Stage.java Removing common/src/java/org/apache/hadoop/hive/common/jsonexplain/Vertex.java Removing common/src/java/org/apache/hadoop/hive/common/jsonexplain/spark/ Removing itests/src/test/resources/testconfiguration.properties.orig Removing ql/src/test/queries/clientpositive/spark_explainuser_1.q Removing ql/src/test/results/clientpositive/spark/spark_explainuser_1.q.out + git checkout master Already on 'master' Your branch is up-to-date with 'origin/master'. + git reset --hard origin/master HEAD is now at 5aa257c HIVE-16462: Vectorization: Enabling hybrid grace disables specialization of all reduce side joins (Jason Dere, reviewed by gopalv) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2017-04-19 00:56:41.316 + patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh + patchFilePath=/data/hiveptest/working/scratch/build.patch + [[ -f /data/hiveptest/working/scratch/build.patch ]] + chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh + /data/hiveptest/working/scratch/smart-apply-patch.sh /data/hiveptest/working/scratch/build.patch error: a/druid-handler/src/java/org/apache/hadoop/hive/druid/io/DruidQueryBasedInputFormat.java: No such file or directory error: a/pom.xml: No such file or directory error: a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveSubQueryRemoveRule.java: No such file or directory error: a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/stats/HiveRelMdPredicates.java: No such file or directory error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java: No such file or directory The patch does not appear to apply with p0, p1, or p2 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12848970 - PreCommit-HIVE-Build > Allow multiple queries with disjunction > --- > > Key: HIVE-15673 > URL: https://issues.apache.org/jira/browse/HIVE-15673 > Project: Hive > Issue Type: Sub-task > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-15673.1.patch, HIVE-15673.2.patch, > HIVE-15673.3.patch, HIVE-15673.4.patch > > > HIVE currently doesn't allow multiple subqueries with {{OR}} since calcite > has a bug in determining logic for OR expression.
[jira] [Commented] (HIVE-15673) Allow multiple queries with disjunction
[ https://issues.apache.org/jira/browse/HIVE-15673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15973573#comment-15973573 ] Ashutosh Chauhan commented on HIVE-15673: - [~vgarg] Do you want to rebase this patch, now that HIVE-15708 is in. > Allow multiple queries with disjunction > --- > > Key: HIVE-15673 > URL: https://issues.apache.org/jira/browse/HIVE-15673 > Project: Hive > Issue Type: Sub-task > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-15673.1.patch, HIVE-15673.2.patch, > HIVE-15673.3.patch, HIVE-15673.4.patch > > > HIVE currently doesn't allow multiple subqueries with {{OR}} since calcite > has a bug in determining logic for OR expression. See [CALCITE-1546 > |https://issues.apache.org/jira/browse/CALCITE-1546]. > Once calcite is released containing fix for the bug HIVE will need to lift > the restriction and add tests cases -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15673) Allow multiple queries with disjunction
[ https://issues.apache.org/jira/browse/HIVE-15673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15892990#comment-15892990 ] Vineet Garg commented on HIVE-15673: This is dependent upon calcite upgrade (HIVE-15708). > Allow multiple queries with disjunction > --- > > Key: HIVE-15673 > URL: https://issues.apache.org/jira/browse/HIVE-15673 > Project: Hive > Issue Type: Sub-task > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-15673.1.patch, HIVE-15673.2.patch, > HIVE-15673.3.patch, HIVE-15673.4.patch > > > HIVE currently doesn't allow multiple subqueries with {{OR}} since calcite > has a bug in determining logic for OR expression. See [CALCITE-1546 > |https://issues.apache.org/jira/browse/CALCITE-1546]. > Once calcite is released containing fix for the bug HIVE will need to lift > the restriction and add tests cases -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15673) Allow multiple queries with disjunction
[ https://issues.apache.org/jira/browse/HIVE-15673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15892980#comment-15892980 ] Sergey Shelukhin commented on HIVE-15673: - Is there any update here? > Allow multiple queries with disjunction > --- > > Key: HIVE-15673 > URL: https://issues.apache.org/jira/browse/HIVE-15673 > Project: Hive > Issue Type: Sub-task > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-15673.1.patch, HIVE-15673.2.patch, > HIVE-15673.3.patch, HIVE-15673.4.patch > > > HIVE currently doesn't allow multiple subqueries with {{OR}} since calcite > has a bug in determining logic for OR expression. See [CALCITE-1546 > |https://issues.apache.org/jira/browse/CALCITE-1546]. > Once calcite is released containing fix for the bug HIVE will need to lift > the restriction and add tests cases -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15673) Allow multiple queries with disjunction
[ https://issues.apache.org/jira/browse/HIVE-15673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15868709#comment-15868709 ] Vineet Garg commented on HIVE-15673: TPC-DS query 10 & query 45 depends upon this > Allow multiple queries with disjunction > --- > > Key: HIVE-15673 > URL: https://issues.apache.org/jira/browse/HIVE-15673 > Project: Hive > Issue Type: Sub-task > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-15673.1.patch, HIVE-15673.2.patch, > HIVE-15673.3.patch, HIVE-15673.4.patch > > > HIVE currently doesn't allow multiple subqueries with {{OR}} since calcite > has a bug in determining logic for OR expression. See [CALCITE-1546 > |https://issues.apache.org/jira/browse/CALCITE-1546]. > Once calcite is released containing fix for the bug HIVE will need to lift > the restriction and add tests cases -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15673) Allow multiple queries with disjunction
[ https://issues.apache.org/jira/browse/HIVE-15673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15833889#comment-15833889 ] Hive QA commented on HIVE-15673: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12848820/HIVE-15673.3.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 895 failed/errored test(s), 6905 tests executed *Failed tests:* {noformat} TestDerbyConnector - did not produce a TEST-*.xml file (likely timed out) (batchId=235) org.apache.hadoop.hive.cli.TestAccumuloCliDriver.testCliDriver[accumulo_custom_key2] (batchId=219) org.apache.hadoop.hive.cli.TestAccumuloCliDriver.testCliDriver[accumulo_custom_key] (batchId=219) org.apache.hadoop.hive.cli.TestAccumuloCliDriver.testCliDriver[accumulo_joins] (batchId=219) org.apache.hadoop.hive.cli.TestAccumuloCliDriver.testCliDriver[accumulo_predicate_pushdown] (batchId=219) org.apache.hadoop.hive.cli.TestAccumuloCliDriver.testCliDriver[accumulo_queries] (batchId=219) org.apache.hadoop.hive.cli.TestAccumuloCliDriver.testCliDriver[accumulo_single_sourced_multi_insert] (batchId=219) org.apache.hadoop.hive.cli.TestBlobstoreCliDriver.testCliDriver[ctas] (batchId=231) org.apache.hadoop.hive.cli.TestBlobstoreCliDriver.testCliDriver[insert_into_dynamic_partitions] (batchId=231) org.apache.hadoop.hive.cli.TestBlobstoreCliDriver.testCliDriver[insert_into_table] (batchId=231) org.apache.hadoop.hive.cli.TestBlobstoreCliDriver.testCliDriver[insert_overwrite_directory] (batchId=231) org.apache.hadoop.hive.cli.TestBlobstoreCliDriver.testCliDriver[insert_overwrite_dynamic_partitions] (batchId=231) org.apache.hadoop.hive.cli.TestBlobstoreCliDriver.testCliDriver[insert_overwrite_table] (batchId=231) org.apache.hadoop.hive.cli.TestBlobstoreCliDriver.testCliDriver[write_final_output_blobstore] (batchId=231) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=1) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=10) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=11) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=12) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=13) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=14) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=15) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=16) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=17) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=18) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=19) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=2) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=20) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=21) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=22) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=23) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=24) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=25) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=26) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=27) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=28) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=29) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=3) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=30) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=31) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=32) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=33) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=34) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=35) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=36) org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=37)
[jira] [Commented] (HIVE-15673) Allow multiple queries with disjunction
[ https://issues.apache.org/jira/browse/HIVE-15673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15833843#comment-15833843 ] Hive QA commented on HIVE-15673: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12848810/HIVE-15673.2.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3120/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3120/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3120/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Tests exited with: NonZeroExitCodeException Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit status 1 and output '+ date '+%Y-%m-%d %T.%3N' 2017-01-23 03:01:30.772 + [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]] + export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + export PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m ' + ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m ' + export 'MAVEN_OPTS=-Xmx1g ' + MAVEN_OPTS='-Xmx1g ' + cd /data/hiveptest/working/ + tee /data/hiveptest/logs/PreCommit-HIVE-Build-3120/source-prep.txt + [[ false == \t\r\u\e ]] + mkdir -p maven ivy + [[ git = \s\v\n ]] + [[ git = \g\i\t ]] + [[ -z master ]] + [[ -d apache-github-source-source ]] + [[ ! -d apache-github-source-source/.git ]] + [[ ! -d apache-github-source-source ]] + date '+%Y-%m-%d %T.%3N' 2017-01-23 03:01:30.775 + cd apache-github-source-source + git fetch origin >From https://github.com/apache/hive 370620f..f764155 master -> origin/master 1f2be26..f746dc6 branch-1 -> origin/branch-1 + git reset --hard HEAD HEAD is now at 370620f HIVE-15565: LLAP: GroupByOperator flushes hash table too frequently (Rajesh Balamohan, reviewed by Sergey Shelukhin, Prasanth Jayachandran) + git clean -f -d Removing ql/src/java/org/apache/hadoop/hive/ql/exec/DynamicValueRegistry.java Removing ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeDynamicValueEvaluator.java Removing ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DynamicValueRegistryTez.java Removing ql/src/java/org/apache/hadoop/hive/ql/parse/RuntimeValuesInfo.java Removing ql/src/java/org/apache/hadoop/hive/ql/plan/DynamicValue.java Removing ql/src/java/org/apache/hadoop/hive/ql/plan/ExprNodeDynamicValueDesc.java Removing ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFBloomFilter.java Removing ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFInBloomFilter.java Removing ql/src/test/queries/clientpositive/dynamic_semijoin_reduction.q Removing ql/src/test/results/clientpositive/llap/dynamic_semijoin_reduction.q.out Removing storage-api/src/java/org/apache/hadoop/hive/ql/io/sarg/LiteralDelegate.java + git checkout master Already on 'master' Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) + git reset --hard origin/master HEAD is now at f764155 HIVE-15519: BitSet not computed properly for ColumnBuffer subset (Rui Li reviewed by Thejas M Nair) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2017-01-23 03:01:32.825 + patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh + patchFilePath=/data/hiveptest/working/scratch/build.patch + [[ -f /data/hiveptest/working/scratch/build.patch ]] + chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh + /data/hiveptest/working/scratch/smart-apply-patch.sh /data/hiveptest/working/scratch/build.patch Going to apply patch with: patch -p1 patching file druid-handler/src/java/org/apache/hadoop/hive/druid/io/DruidQueryBasedInputFormat.java patching file pom.xml patching file ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveSubQueryRemoveRule.java patching file ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/stats/HiveRelMdPredicates.java + [[ maven == \m\a\v\e\n ]] + rm -rf /data/hiveptest/working/maven/org/apache/hive + mvn -B clean install -DskipTests -T 4 -q -Dmaven.repo.local=/data/hiveptest/working/maven ANTLR Parser Generator Version 3.5.2 Output file /data/hiveptest/working/apache-github-source-source/metastore/target/generated-sources/antlr3/org/apache/hadoop/hive/metastore/parser/FilterParser.java does not exist: must build /data/hiveptest/working/apache-github-source-source/metastore/src/java/org/apache/hadoop/hive/metastore/parser/Filter.g org/apache/hadoop/hive/metastore/parser/Filter.g DataNucleus Enhancer (version 4.1.6) for API "JDO" DataNucleus Enhancer : Classpath >>
[jira] [Commented] (HIVE-15673) Allow multiple queries with disjunction
[ https://issues.apache.org/jira/browse/HIVE-15673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15832844#comment-15832844 ] Hive QA commented on HIVE-15673: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12848479/HIVE-15673.1.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3088/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3088/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3088/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Tests exited with: NonZeroExitCodeException Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit status 1 and output '+ date '+%Y-%m-%d %T.%3N' 2017-01-21 06:29:27.688 + [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]] + export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + export PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m ' + ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m ' + export 'MAVEN_OPTS=-Xmx1g ' + MAVEN_OPTS='-Xmx1g ' + cd /data/hiveptest/working/ + tee /data/hiveptest/logs/PreCommit-HIVE-Build-3088/source-prep.txt + [[ false == \t\r\u\e ]] + mkdir -p maven ivy + [[ git = \s\v\n ]] + [[ git = \g\i\t ]] + [[ -z master ]] + [[ -d apache-github-source-source ]] + [[ ! -d apache-github-source-source/.git ]] + [[ ! -d apache-github-source-source ]] + date '+%Y-%m-%d %T.%3N' 2017-01-21 06:29:27.691 + cd apache-github-source-source + git fetch origin + git reset --hard HEAD HEAD is now at d9343f6 HIVE-15544 : Support scalar subqueries (Vineet Garg via Ashutosh Chauhan) + git clean -f -d Removing common/src/java/org/apache/hadoop/hive/conf/HiveConf.java.orig Removing llap-server/src/java/org/apache/hadoop/hive/llap/io/encoded/VertorDeserializeOrcWriter.java + git checkout master Already on 'master' Your branch is up-to-date with 'origin/master'. + git reset --hard origin/master HEAD is now at d9343f6 HIVE-15544 : Support scalar subqueries (Vineet Garg via Ashutosh Chauhan) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2017-01-21 06:29:28.755 + patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh + patchFilePath=/data/hiveptest/working/scratch/build.patch + [[ -f /data/hiveptest/working/scratch/build.patch ]] + chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh + /data/hiveptest/working/scratch/smart-apply-patch.sh /data/hiveptest/working/scratch/build.patch error: a/druid-handler/src/java/org/apache/hadoop/hive/druid/io/DruidQueryBasedInputFormat.java: No such file or directory error: a/pom.xml: No such file or directory error: a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveSubQueryRemoveRule.java: No such file or directory error: a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/stats/HiveRelMdPredicates.java: No such file or directory error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java: No such file or directory The patch does not appear to apply with p0, p1, or p2 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12848479 - PreCommit-HIVE-Build > Allow multiple queries with disjunction > --- > > Key: HIVE-15673 > URL: https://issues.apache.org/jira/browse/HIVE-15673 > Project: Hive > Issue Type: Sub-task > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-15673.1.patch > > > HIVE currently doesn't allow multiple subqueries with {{OR}} since calcite > has a bug in determining logic for OR expression. See [CALCITE-1546 > |https://issues.apache.org/jira/browse/CALCITE-1546]. > Once calcite is released containing fix for the bug HIVE will need to lift > the restriction and add tests cases -- This message was sent by Atlassian JIRA (v6.3.4#6332)