Dmitry Lychagin created ASTERIXDB-2843:
------------------------------------------

             Summary: Incorrect result
                 Key: ASTERIXDB-2843
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2843
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: COMP - Compiler
    Affects Versions: 0.9.6
            Reporter: Dmitry Lychagin
            Assignee: Dmitry Lychagin
             Fix For: 0.9.7


The following query returns incorrect result:
{noformat}
select array_sum(array_reverse(lst))
let lst = (
  from range(1, 3) r
  select value int32(to_string(r))
)
{noformat}

Returns 
{ "$1": 0 }

while it should return
{ "$1": 6 } 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to