[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16641002#comment-16641002 ] Hive QA commented on HIVE-14431: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12942671/HIVE-14431.06.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 15029 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/14292/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14292/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14292/ 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: 12942671 - PreCommit-HIVE-Build > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Jesus Camacho Rodriguez >Priority: Major > Attachments: HIVE-14431.01.patch, HIVE-14431.03.patch, > HIVE-14431.04.patch, HIVE-14431.05.patch, HIVE-14431.05.patch, > HIVE-14431.06.patch, HIVE-14431.06.patch, HIVE-14431.06.patch, > HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16640992#comment-16640992 ] Hive QA commented on HIVE-14431: | (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 27s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 5s{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 58s{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 24s{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 41s{color} | {color:red} ql: The patch generated 3 new + 80 unchanged - 0 fixed = 83 total (was 80) {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 4m 9s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 57s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:red}-1{color} | {color:red} asflicense {color} | {color:red} 0m 15s{color} | {color:red} The patch generated 1 ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 24m 9s{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-14292/dev-support/hive-personality.sh | | git revision | master / 3068f03 | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-14292/yetus/diff-checkstyle-ql.txt | | asflicense | http://104.198.109.242/logs//PreCommit-HIVE-Build-14292/yetus/patch-asflicense-problems.txt | | modules | C: ql U: ql | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-14292/yetus.txt | | Powered by | Apache Yetushttp://yetus.apache.org | This message was automatically generated. > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Jesus Camacho Rodriguez >Priority: Major > Attachments: HIVE-14431.01.patch, HIVE-14431.03.patch, > HIVE-14431.04.patch, HIVE-14431.05.patch, HIVE-14431.05.patch, > HIVE-14431.06.patch, HIVE-14431.06.patch, HIVE-14431.06.patch, > HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16640590#comment-16640590 ] Hive QA commented on HIVE-14431: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12942570/HIVE-14431.06.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/14268/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14268/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14268/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Tests exited with: Exception: Patch URL https://issues.apache.org/jira/secure/attachment/12942570/HIVE-14431.06.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: 12942570 - PreCommit-HIVE-Build > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Jesus Camacho Rodriguez >Priority: Major > Attachments: HIVE-14431.01.patch, HIVE-14431.03.patch, > HIVE-14431.04.patch, HIVE-14431.05.patch, HIVE-14431.05.patch, > HIVE-14431.06.patch, HIVE-14431.06.patch, HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16640529#comment-16640529 ] Hive QA commented on HIVE-14431: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12942570/HIVE-14431.06.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 15026 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/14263/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14263/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14263/ 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: 12942570 - PreCommit-HIVE-Build > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Jesus Camacho Rodriguez >Priority: Major > Attachments: HIVE-14431.01.patch, HIVE-14431.03.patch, > HIVE-14431.04.patch, HIVE-14431.05.patch, HIVE-14431.05.patch, > HIVE-14431.06.patch, HIVE-14431.06.patch, HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16640526#comment-16640526 ] Hive QA commented on HIVE-14431: | (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 56s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 7s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 41s{color} | {color:green} master passed {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 4m 12s{color} | {color:blue} ql in master has 2320 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 26s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 4s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 1m 4s{color} | {color:green} the patch passed {color} | | {color:red}-1{color} | {color:red} checkstyle {color} | {color:red} 0m 41s{color} | {color:red} ql: The patch generated 3 new + 80 unchanged - 0 fixed = 83 total (was 80) {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 4m 33s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 1m 1s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:red}-1{color} | {color:red} asflicense {color} | {color:red} 0m 14s{color} | {color:red} The patch generated 1 ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 25m 29s{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-14263/dev-support/hive-personality.sh | | git revision | master / a4b087b | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-14263/yetus/diff-checkstyle-ql.txt | | asflicense | http://104.198.109.242/logs//PreCommit-HIVE-Build-14263/yetus/patch-asflicense-problems.txt | | modules | C: ql U: ql | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-14263/yetus.txt | | Powered by | Apache Yetushttp://yetus.apache.org | This message was automatically generated. > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Jesus Camacho Rodriguez >Priority: Major > Attachments: HIVE-14431.01.patch, HIVE-14431.03.patch, > HIVE-14431.04.patch, HIVE-14431.05.patch, HIVE-14431.05.patch, > HIVE-14431.06.patch, HIVE-14431.06.patch, HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16639901#comment-16639901 ] Jesus Camacho Rodriguez commented on HIVE-14431: Thanks [~kgyrtkirk]. Reuploading, let's see if we get a clean run. > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Jesus Camacho Rodriguez >Priority: Major > Attachments: HIVE-14431.01.patch, HIVE-14431.03.patch, > HIVE-14431.04.patch, HIVE-14431.05.patch, HIVE-14431.05.patch, > HIVE-14431.06.patch, HIVE-14431.06.patch, HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16639772#comment-16639772 ] Hive QA commented on HIVE-14431: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12942530/HIVE-14431.06.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 15025 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[stat_estimate_related_col] (batchId=43) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udaf_histogram_numeric] (batchId=14) org.apache.hive.jdbc.TestJdbcDriver2.testSelectExecAsync2 (batchId=253) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/14251/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14251/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14251/ 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: 12942530 - PreCommit-HIVE-Build > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Jesus Camacho Rodriguez >Priority: Major > Attachments: HIVE-14431.01.patch, HIVE-14431.03.patch, > HIVE-14431.04.patch, HIVE-14431.05.patch, HIVE-14431.05.patch, > HIVE-14431.06.patch, HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16639718#comment-16639718 ] Hive QA commented on HIVE-14431: | (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 16s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 5s{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 55s{color} | {color:blue} ql in master has 2320 extant Findbugs warnings. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 1m 0s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 1m 26s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 4s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 1m 4s{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 3 new + 80 unchanged - 0 fixed = 83 total (was 80) {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 4m 17s{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} 24m 4s{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-14251/dev-support/hive-personality.sh | | git revision | master / f0434c5 | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-14251/yetus/diff-checkstyle-ql.txt | | modules | C: ql U: ql | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-14251/yetus.txt | | Powered by | Apache Yetushttp://yetus.apache.org | This message was automatically generated. > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Jesus Camacho Rodriguez >Priority: Major > Attachments: HIVE-14431.01.patch, HIVE-14431.03.patch, > HIVE-14431.04.patch, HIVE-14431.05.patch, HIVE-14431.05.patch, > HIVE-14431.06.patch, HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16639485#comment-16639485 ] Zoltan Haindrich commented on HIVE-14431: - patch#06: updated q.out-s in patch ; the vectorization is not lost anymore - I think that's good... diff between patch 05/06 : https://github.com/kgyrtkirk/hive/commit/5fab9c13510420a77a0e258e08b87c10df3b2bc1 > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Jesus Camacho Rodriguez >Priority: Major > Attachments: HIVE-14431.01.patch, HIVE-14431.03.patch, > HIVE-14431.04.patch, HIVE-14431.05.patch, HIVE-14431.05.patch, > HIVE-14431.06.patch, HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16639065#comment-16639065 ] Ashutosh Chauhan commented on HIVE-14431: - +1 pending tests > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Jesus Camacho Rodriguez >Priority: Major > Attachments: HIVE-14431.01.patch, HIVE-14431.03.patch, > HIVE-14431.04.patch, HIVE-14431.05.patch, HIVE-14431.05.patch, > HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16638810#comment-16638810 ] Ashutosh Chauhan commented on HIVE-14431: - HIVE-20563 is in. [~jcamachorodriguez] Can you reattach this patch? > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Jesus Camacho Rodriguez >Priority: Major > Attachments: HIVE-14431.01.patch, HIVE-14431.03.patch, > HIVE-14431.04.patch, HIVE-14431.05.patch, HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16618493#comment-16618493 ] Hive QA commented on HIVE-14431: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12940038/HIVE-14431.05.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 14969 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[join_cond_pushdown_unqual5] (batchId=71) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[vector_coalesce] (batchId=11) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_coalesce] (batchId=159) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/13874/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/13874/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-13874/ 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: 12940038 - PreCommit-HIVE-Build > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Jesus Camacho Rodriguez >Priority: Major > Attachments: HIVE-14431.01.patch, HIVE-14431.03.patch, > HIVE-14431.04.patch, HIVE-14431.05.patch, HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16618467#comment-16618467 ] Hive QA commented on HIVE-14431: | (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 16s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 2s{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} 4m 7s{color} | {color:blue} ql in master has 2326 extant Findbugs warnings. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 1m 1s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 1m 32s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 6s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 1m 6s{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 3 new + 80 unchanged - 0 fixed = 83 total (was 80) {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 4m 27s{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 15s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 24m 41s{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-13874/dev-support/hive-personality.sh | | git revision | master / a782330 | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-13874/yetus/diff-checkstyle-ql.txt | | modules | C: ql U: ql | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-13874/yetus.txt | | Powered by | Apache Yetushttp://yetus.apache.org | This message was automatically generated. > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Jesus Camacho Rodriguez >Priority: Major > Attachments: HIVE-14431.01.patch, HIVE-14431.03.patch, > HIVE-14431.04.patch, HIVE-14431.05.patch, HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16616534#comment-16616534 ] Hive QA commented on HIVE-14431: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12939788/HIVE-14431.04.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 21 failed/errored test(s), 14941 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[deleteAnalyze] (batchId=33) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[groupby13] (batchId=33) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[innerjoin1] (batchId=25) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[join_cond_pushdown_unqual5] (batchId=71) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[schema_evol_undecorated] (batchId=58) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[semijoin4] (batchId=92) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[semijoin5] (batchId=16) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[vector_coalesce] (batchId=11) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[semijoin6] (batchId=179) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_coalesce] (batchId=159) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_coalesce_2] (batchId=176) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_coalesce_3] (batchId=172) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_coalesce_4] (batchId=158) org.apache.hadoop.hive.cli.TestSparkPerfCliDriver.testCliDriver[query40] (batchId=266) org.apache.hadoop.hive.cli.TestSparkPerfCliDriver.testCliDriver[query49] (batchId=266) org.apache.hadoop.hive.cli.TestSparkPerfCliDriver.testCliDriver[query67] (batchId=266) org.apache.hadoop.hive.cli.TestSparkPerfCliDriver.testCliDriver[query75] (batchId=266) org.apache.hadoop.hive.cli.TestSparkPerfCliDriver.testCliDriver[query77] (batchId=266) org.apache.hadoop.hive.cli.TestSparkPerfCliDriver.testCliDriver[query78] (batchId=266) org.apache.hadoop.hive.cli.TestSparkPerfCliDriver.testCliDriver[query80] (batchId=266) org.apache.hadoop.hive.cli.TestTezPerfCliDriver.testCliDriver[query78] (batchId=264) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/13815/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/13815/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-13815/ 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: 21 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12939788 - PreCommit-HIVE-Build > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Jesus Camacho Rodriguez >Priority: Major > Attachments: HIVE-14431.01.patch, HIVE-14431.03.patch, > HIVE-14431.04.patch, HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16616529#comment-16616529 ] Hive QA commented on HIVE-14431: | (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} 11m 27s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 32s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 1m 1s{color} | {color:green} master passed {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 4m 11s{color} | {color:blue} ql in master has 2311 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 22s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 6s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 1m 6s{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 + 80 unchanged - 0 fixed = 82 total (was 80) {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 4m 12s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 57s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 15s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 28m 19s{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-13815/dev-support/hive-personality.sh | | git revision | master / e691294 | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-13815/yetus/diff-checkstyle-ql.txt | | modules | C: ql U: ql | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-13815/yetus.txt | | Powered by | Apache Yetushttp://yetus.apache.org | This message was automatically generated. > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Jesus Camacho Rodriguez >Priority: Major > Attachments: HIVE-14431.01.patch, HIVE-14431.03.patch, > HIVE-14431.04.patch, HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15992839#comment-15992839 ] Jesus Camacho Rodriguez commented on HIVE-14431: OK, got it. I think the easiest is to go with your first proposal then and add that extension to Calcite, since it will benefit COALESCE and CASE statements alike. Then just recognizing COALESCE as CASE on the Hive side, i.e., checking in the _RexNodeConverter_ changes, would be enough to trigger the rewriting. > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Remus Rusanu > Attachments: HIVE-14431.01.patch, HIVE-14431.03.patch, > HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15992822#comment-15992822 ] Remus Rusanu commented on HIVE-14431: - @jcamachorodriguez Not all changes are in RexSimplify. The 3rd case you added {code} + // 3) Another simplification + // CASE + // WHEN p1 THEN x + // WHEN p2 THEN y + // ELSE TRUE + // END {code} is not currently in Calcite. I made the changes in Hive, but the CASE is left as a CASE, not transformed into an OR. > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Remus Rusanu > Attachments: HIVE-14431.01.patch, HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15992514#comment-15992514 ] Jesus Camacho Rodriguez commented on HIVE-14431: [~rusanu], all the changes in _RexSimplify_ should have gone into Calcite already, thus I think that taking only the changes in _RexNodeConverter_ should suffice. Could you check whether that gets us the desired behavior? > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Remus Rusanu > Attachments: HIVE-14431.01.patch, HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15990267#comment-15990267 ] Hive QA commented on HIVE-14431: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12823995/HIVE-14431.2.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/4947/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/4947/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-4947/ 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-30 15:41:45.514 + [[ -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-4947/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-30 15:41:45.517 + cd apache-github-source-source + git fetch origin + git reset --hard HEAD HEAD is now at 66ff590 HIVE-16553: Change default value for hive.tez.bigtable.minsize.semijoin.reduction (Jason Dere, reviewed by gopalv) + git clean -f -d Removing ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveSortProjectRealignRule.java Removing ql/src/test/queries/clientpositive/order_by_expr_1.q Removing ql/src/test/queries/clientpositive/order_by_expr_2.q Removing ql/src/test/results/clientpositive/order_by_expr_1.q.out Removing ql/src/test/results/clientpositive/order_by_expr_2.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 66ff590 HIVE-16553: Change default value for hive.tez.bigtable.minsize.semijoin.reduction (Jason Dere, reviewed by gopalv) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2017-04-30 15:41:47.254 + 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/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/HiveRexUtil.java: No such file or directory error: a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/RexNodeConverter.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: 12823995 - PreCommit-HIVE-Build > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Remus Rusanu > Attachments: HIVE-14431.01.patch, HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15990261#comment-15990261 ] Remus Rusanu commented on HIVE-14431: - Since the original path from Jesus the simplify rules have moved into Calcite (RexSimplify). We have to follow up as a Calcite issue, and see if they desire/accept this rule. An alternative is to do something similar to the {{HivePointLookupOptimizerRule}}, ie. have a RelOptRule for Filter/Join operators and inspect the condition for COALESCE => CASE simplification. This would be entirely in Hive space. > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Remus Rusanu > Attachments: HIVE-14431.01.patch, HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15850095#comment-15850095 ] Hive QA commented on HIVE-14431: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12823995/HIVE-14431.2.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3328/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3328/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3328/ 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-02-02 16:07:47.474 + [[ -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-3328/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-02-02 16:07:47.477 + cd apache-github-source-source + git fetch origin + git reset --hard HEAD HEAD is now at 7cca097 HIVE-14420: Fix orc_llap_counters.q test failure in master (Prasanth Jayachandran reviewed by Siddharth Seth) + git clean -f -d + git checkout master Already on 'master' Your branch is up-to-date with 'origin/master'. + git reset --hard origin/master HEAD is now at 7cca097 HIVE-14420: Fix orc_llap_counters.q test failure in master (Prasanth Jayachandran reviewed by Siddharth Seth) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2017-02-02 16:07:48.833 + 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/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/HiveRexUtil.java: No such file or directory error: a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/RexNodeConverter.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: 12823995 - PreCommit-HIVE-Build > Recognize COALESCE as CASE > -- > > Key: HIVE-14431 > URL: https://issues.apache.org/jira/browse/HIVE-14431 > Project: Hive > Issue Type: Improvement > Components: CBO >Affects Versions: 2.2.0 >Reporter: Jesus Camacho Rodriguez >Assignee: Remus Rusanu > Attachments: HIVE-14431.01.patch, HIVE-14431.2.patch, HIVE-14431.patch > > > Transform: > {code} > (COALESCE(a, '') = '') OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > into: > {code} > (a='') OR >(a is null) OR >(a = 'A' AND b = c) OR >(a = 'B' AND b = d) OR >(a = 'C' AND b = e) OR >(a = 'D' AND b = f) OR >(a = 'E' AND b = g) OR >(a = 'F' AND b = h) > {code} > With complex queries, this will lead us to factor more predicates that could > be pushed to the TS. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE and extend CASE simplification to cover more cases
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15423875#comment-15423875 ] Hive QA commented on HIVE-14431: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12823995/HIVE-14431.2.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 48 failed/errored test(s), 10442 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[alter_merge_orc] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[array_map_access_nonconstant] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[cbo_udf_udaf] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[create_view_translate] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[date_1] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[date_udf] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[deleteAnalyze] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[dynpart_sort_opt_vectorization] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[dynpart_sort_optimization] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[foldts] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[global_limit] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[groupby13] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[input_dynamicserde] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[join_cond_pushdown_unqual5] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[list_bucket_dml_1] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[list_bucket_dml_2] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[list_bucket_dml_3] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[list_bucket_dml_4] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[list_bucket_dml_5] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[list_bucket_dml_6] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[list_bucket_dml_7] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[list_bucket_dml_8] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[list_bucket_dml_9] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[orc_merge10] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[orc_merge1] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[semijoin4] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[semijoin5] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[str_to_map] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[timestamp_udf] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[type_widening] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf5] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_folder_constants] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_to_unix_timestamp] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_unix_timestamp] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[vector_coalesce] org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[vector_coalesce_2] org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[alter_merge_2_orc] org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainuser_1] org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainuser_2] org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[load_dyn_part1] org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[transform_ppr1] org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[vector_coalesce] org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[vector_coalesce_2] org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[date_udf] org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[timestamp_udf] org.apache.hive.beeline.TestBeeLineWithArgs.testEmbeddedBeelineOutputs org.apache.hive.jdbc.TestJdbcWithMiniHS2.testSelectThriftSerializeInTasks org.apache.hive.service.cli.operation.TestOperationLoggingLayout.testSwitchLogLayout {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/900/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/900/console Test logs: http://ec2-204-236-174-241.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-MASTER-Build-900/ 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: 48 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12823995 - PreCommit-HIVE-MASTER-Build > Recognize COALESCE as CASE and extend CASE simplification to cover more cases > - > > Key: HIVE-14431 > URL:
[jira] [Commented] (HIVE-14431) Recognize COALESCE as CASE and extend CASE simplification to cover more cases
[ https://issues.apache.org/jira/browse/HIVE-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15408623#comment-15408623 ] Hive QA commented on HIVE-14431: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12822143/HIVE-14431.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/776/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/776/console Test logs: http://ec2-204-236-174-241.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-MASTER-Build-776/ Messages: {noformat} This message was trimmed, see log for full details [INFO] Executing tasks main: [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/spark-client/target/tmp [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/spark-client/target/warehouse [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/spark-client/target/tmp/conf [copy] Copying 15 files to /data/hive-ptest/working/apache-github-source-source/spark-client/target/tmp/conf [INFO] Executed tasks [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ spark-client --- [INFO] Compiling 5 source files to /data/hive-ptest/working/apache-github-source-source/spark-client/target/test-classes [INFO] [INFO] --- maven-dependency-plugin:2.8:copy (copy-guava-14) @ spark-client --- [INFO] Configured Artifact: com.google.guava:guava:14.0.1:jar [INFO] Copying guava-14.0.1.jar to /data/hive-ptest/working/apache-github-source-source/spark-client/target/dependency/guava-14.0.1.jar [INFO] [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ spark-client --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ spark-client --- [INFO] Building jar: /data/hive-ptest/working/apache-github-source-source/spark-client/target/spark-client-2.2.0-SNAPSHOT.jar [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ spark-client --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ spark-client --- [INFO] Installing /data/hive-ptest/working/apache-github-source-source/spark-client/target/spark-client-2.2.0-SNAPSHOT.jar to /data/hive-ptest/working/maven/org/apache/hive/spark-client/2.2.0-SNAPSHOT/spark-client-2.2.0-SNAPSHOT.jar [INFO] Installing /data/hive-ptest/working/apache-github-source-source/spark-client/pom.xml to /data/hive-ptest/working/maven/org/apache/hive/spark-client/2.2.0-SNAPSHOT/spark-client-2.2.0-SNAPSHOT.pom [INFO] [INFO] [INFO] Building Hive Query Language 2.2.0-SNAPSHOT [INFO] [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hive-exec --- [INFO] Deleting /data/hive-ptest/working/apache-github-source-source/ql/target [INFO] Deleting /data/hive-ptest/working/apache-github-source-source/ql (includes = [datanucleus.log, derby.log], excludes = []) [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-snapshots) @ hive-exec --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (generate-sources) @ hive-exec --- [INFO] Executing tasks main: [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/ql/target/generated-sources/java/org/apache/hadoop/hive/ql/exec/vector/expressions/gen [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/ql/target/generated-sources/java/org/apache/hadoop/hive/ql/exec/vector/expressions/aggregates/gen [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/ql/target/generated-test-sources/java/org/apache/hadoop/hive/ql/exec/vector/expressions/gen Generating vector expression code Generating vector expression test code [INFO] Executed tasks [INFO] [INFO] --- build-helper-maven-plugin:1.8:add-source (add-source) @ hive-exec --- [INFO] Source directory: /data/hive-ptest/working/apache-github-source-source/ql/src/gen/thrift/gen-javabean added. [INFO] Source directory: /data/hive-ptest/working/apache-github-source-source/ql/target/generated-sources/java added. [INFO] [INFO] --- antlr3-maven-plugin:3.4:antlr (default) @ hive-exec --- [INFO] ANTLR: Processing source directory /data/hive-ptest/working/apache-github-source-source/ql/src/java ANTLR Parser Generator Version 3.4 org/apache/hadoop/hive/ql/parse/HiveLexer.g org/apache/hadoop/hive/ql/parse/HiveParser.g [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hive-exec --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hive-exec --- [INFO] Using 'UTF-8' encoding to copy filtered resources.