asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yingyi Bu (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (ASTERIXDB-1216) Aggregation on open nested TypeComputer fails
Date Mon, 23 May 2016 23:17:13 GMT

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

Yingyi Bu reassigned ASTERIXDB-1216:
------------------------------------

    Assignee: Yingyi Bu  (was: Wail Alkowaileet)

> 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)

Mime
View raw message