[
https://issues.apache.org/jira/browse/ASTERIXDB-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yingyi Bu closed ASTERIXDB-1219.
--------------------------------
Resolution: Fixed
The original issue is fixed:
-- TypeComputerTest is added to test all type computers except a few exceptions;
-- ExceptionTest is added to cover exception code paths of all type computers
except a few exceptions
-- NullMissingTest is added to test all runtime functions;
-- ExceptionIT is added to cover exception code paths of all runtime functions;
> 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)