[ 
https://issues.apache.org/jira/browse/HIVE-9168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14254490#comment-14254490
 ] 

Hive QA commented on HIVE-9168:
-------------------------------



{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12688469/HIVE-9168.02.patch

{color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 6720 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_nonmr_fetch
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udaf_covar_samp
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_virtual_column
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_schemeAuthority
{noformat}

Test results: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2149/testReport
Console output: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2149/console
Test logs: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-2149/

Messages:
{noformat}
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: 12688469 - PreCommit-HIVE-TRUNK-Build

> Vectorized Coalesce for strings is broken
> -----------------------------------------
>
>                 Key: HIVE-9168
>                 URL: https://issues.apache.org/jira/browse/HIVE-9168
>             Project: Hive
>          Issue Type: Bug
>          Components: Vectorization
>    Affects Versions: 0.13.0, 0.14.0
>            Reporter: Matt McCline
>            Assignee: Matt McCline
>            Priority: Critical
>             Fix For: 0.15.0, 0.14.1
>
>         Attachments: HIVE-9168.01.patch, HIVE-9168.02.patch
>
>
> Vectorized Coalesce uses BytesColumnVector.setElement which does not set the 
> output string length correctly.
> {noformat}
> create table str_str_orc (str1 string, str2 string) stored as orc;
> insert into table str_str_orc values (null, "X"), ("0", "X"), ("1", "X"), 
> (null, "y");
> EXPLAIN
> SELECT
>    str2, ROUND(sum(cast(COALESCE(str1, 0) as int))/60, 2) as result
> from str_str_orc
> GROUP BY str2;
> SELECT
>    str2, ROUND(sum(cast(COALESCE(str1, 0) as int))/60, 2) as result
> from str_str_orc
> GROUP BY str2;
> EXPLAIN
> SELECT COALESCE(str1, 0) as result
> from str_str_orc;
> SELECT COALESCE(str1, 0) as result
> from str_str_orc;
> {noformat}
> Produces different results when vectorized and not vectorized.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to