hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesus Camacho Rodriguez (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13973) Extend support for other primitive types in windowing expressions
Date Fri, 10 Jun 2016 08:58:20 GMT

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

Jesus Camacho Rodriguez commented on HIVE-13973:
------------------------------------------------

[~leftylev], it is not really necessary, in the wiki we mention we support primitive types;
problem was that some primitive types were added to Hive after the windowing logic was added,
so it should have been updated as it has been done now. Thanks

> 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.1.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>             Fix For: 2.1.0
>
>         Attachments: HIVE-13973.01.patch, 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)

Mime
View raw message