asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ildar Absalyamov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ASTERIXDB-1219) Refactor user-facing functions to work correctly with semistructured arguments
Date Tue, 15 Dec 2015 06:27:46 GMT

    [ https://issues.apache.org/jira/browse/ASTERIXDB-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15057427#comment-15057427
] 

Ildar Absalyamov commented on ASTERIXDB-1219:
---------------------------------------------

Superseded according to discussion on dev@

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

Mime
View raw message