You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Dmitry Lychagin (JIRA)" <ji...@apache.org> on 2019/03/05 21:31:00 UTC

[jira] [Resolved] (ASTERIXDB-2524) Illegal state error with ratio_to_report()

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

Dmitry Lychagin resolved ASTERIXDB-2524.
----------------------------------------
    Resolution: Fixed

> Illegal state error with ratio_to_report()
> ------------------------------------------
>
>                 Key: ASTERIXDB-2524
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2524
>             Project: Apache AsterixDB
>          Issue Type: Bug
>            Reporter: Dmitry Lychagin
>            Assignee: Dmitry Lychagin
>            Priority: Minor
>
> FROM (
>   FROM range(1, 2) x, range(1, 2) y SELECT x, y
> ) t
> SELECT x, y,
>   round_half_to_even(ratio_to_report(x) over (partition by y), 2) as `ratio_to_report`
> ORDER BY y, x;
> Throws ASX1038: Illegal state



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)