You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2016/06/08 17:02:20 UTC

[jira] [Commented] (HIVE-13973) Extend support for other primitive types in windowing expressions

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

Hive QA commented on HIVE-13973:
--------------------------------



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

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 10 failed/errored test(s), 10224 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_acid_globallimit
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_create_func1
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_list_bucket_dml_12
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_list_bucket_dml_13
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_stats_list_bucket
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_subquery_multiinsert
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver_constprog_partitioner
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver_index_bitmap3
org.apache.hive.jdbc.TestJdbcWithLocalClusterSpark.testPermFunc
org.apache.hive.jdbc.TestJdbcWithMiniMr.testPermFunc
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/49/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/49/console
Test logs: http://ec2-50-18-27-0.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-MASTER-Build-49/

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: 10 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12808945 - PreCommit-HIVE-MASTER-Build

> Extend support for other primitive types in windowing expressions
> -----------------------------------------------------------------
>
>                 Key: HIVE-13973
>                 URL: https://issues.apache.org/jira/browse/HIVE-13973
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-13973.patch
>
>
> Following windowing query using boolean column in partitioning clause
> {code:sql}
> create table all100k(t tinyint, si smallint, i int,
>     b bigint, f float, d double, s string,
>     dc decimal(38,18), bo boolean, v varchar(25),
>     c char(25), ts timestamp, dt date);
> select  rank() over (partition by i order by bo  nulls first, b nulls last range between unbounded preceding and current row),
>     row_number()  over (partition by bo order by si desc, b nulls last range between unbounded preceding and unbounded following) as fv
> from all100k order by fv;
> {code}
> fails with the following error:
> {noformat}
> FAILED: SemanticException Failed to breakup Windowing invocations into Groups. At least 1 group must only depend on input columns. Also check for circular dependencies.
> Underlying error: Primitve type BOOLEAN not supported in Value Boundary expression
> {noformat}



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