Xikui Wang created ASTERIXDB-1901:
-------------------------------------
Summary: UDF fails at constant parameter
Key: ASTERIXDB-1901
URL: https://issues.apache.org/jira/browse/ASTERIXDB-1901
Project: Apache AsterixDB
Issue Type: Bug
Reporter: Xikui Wang
If the declared datatype for UDF input is a open type, UDF will fail when given
constant record (which has a closed datatype implicitly)
Execute following query with default lib installed can reproduce this issue:
{noformat}
drop dataverse externallibtest if exists;
create dataverse externallibtest;
use dataverse externallibtest;
create type TextType if not exists as open {
id: int32,
text: string
};
testlib#toUpper({"id":1, "text":"lower text"})
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)