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/04 20:54:00 UTC

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

Dmitry Lychagin created ASTERIXDB-2524:
------------------------------------------

             Summary: 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


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)