Ildar Absalyamov created ASTERIXDB-1219:
-------------------------------------------
Summary: 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)