asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wail Alkowaileet (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ASTERIXDB-1216) Aggregation on open nested TypeComputer fails
Date Mon, 07 Dec 2015 12:58:10 GMT
Wail Alkowaileet created ASTERIXDB-1216:
-------------------------------------------

             Summary: Aggregation on open nested TypeComputer fails
                 Key: ASTERIXDB-1216
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1216
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: AsterixDB, Functions - AQL
            Reporter: Wail Alkowaileet


Another issue has been reported in the result type computer for aggregate function (avg) similat
to https://issues.apache.org/jira/browse/ASTERIXDB-1190.

The issue appears when the IVariableTypeEnvironment infer ATypeTag.ANY.

- Reproduce:
{noformat}
let $l := [[1.2, 2.3, 3.4],[6,3,7,2]]
for $x in $l // for each list in the outer list
return avg($x)
{noformat}

Solution:
Early exit when see ANY to be handled at runtime
I can fix both this one and issue 1190.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message