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] [Updated] (HIVE-13973) Extend support for other primitive types in windowing expressions
Date Wed, 08 Jun 2016 16:04:21 GMT

     [ https://issues.apache.org/jira/browse/HIVE-13973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jesus Camacho Rodriguez updated HIVE-13973:
-------------------------------------------
    Summary: Extend support for other primitive types in windowing expressions  (was: Using
boolean in windowing query partitioning clause causes error)

> 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)

Mime
View raw message