You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2016/06/08 18:45:21 UTC

[jira] [Work started] (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:all-tabpanel ]

Work on HIVE-13973 started by Jesus Camacho Rodriguez.
------------------------------------------------------
> 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)