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 20:56:12 UTC

[jira] [Assigned] (ASTERIXDB-1219) Refactor user-facing functions to work correctly with semistructured arguments

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

Yingyi Bu reassigned ASTERIXDB-1219:
------------------------------------

    Assignee: Yingyi Bu  (was: Till Westmann)

> Refactor user-facing functions to work correctly with semistructured arguments
> ------------------------------------------------------------------------------
>
>                 Key: ASTERIXDB-1219
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1219
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: Data Model, Functions - AQL
>            Reporter: Ildar Absalyamov
>            Assignee: Yingyi Bu
>
> Good part of the user-facing Asterix functions assume strongly typed arguments, which prevents passing values of open fields as the arguments into such functions. 
> Instead type checks should be carried out at runtime in functionDescriptors (again in many cases they already are there).
> Default policy should allow function arguments to have the needed type or to have type ANY and fail in runtime if type check is not succeeded.
> All type computer implementations in package org.apache.asterix.om.typecomputer.impl and appropriate functionDescriptors should be investigated.



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