You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Yingyi Bu (JIRA)" <ji...@apache.org> on 2016/05/24 22:51:13 UTC

[jira] [Resolved] (ASTERIXDB-1216) Aggregation on open nested TypeComputer fails

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

Yingyi Bu resolved ASTERIXDB-1216.
----------------------------------
    Resolution: Fixed

> 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
>            Assignee: Yingyi Bu
>
> 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)