asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xikui Wang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ASTERIXDB-1901) UDF fails at constant parameter
Date Fri, 05 May 2017 23:51:04 GMT
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)

Mime
View raw message