asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael J. Carey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ASTERIXDB-1875) Can't run UDF in SQL++
Date Mon, 10 Apr 2017 23:52:41 GMT

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

Michael J. Carey commented on ASTERIXDB-1875:
---------------------------------------------

Is the function metadata also what it should be?  (SQL++?  And tested as such?)  For this
metadata, as for all of our metadata, the hope would be (hope -> requirement) that we could
print out a DDL statement that the function definer will recognize as saying what they said
(albeit with different whitespacing).

> Can't run UDF in SQL++
> ----------------------
>
>                 Key: ASTERIXDB-1875
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1875
>             Project: Apache AsterixDB
>          Issue Type: Bug
>            Reporter: Steven Jacobs
>            Assignee: Xikui Wang
>
> create function cat(str1,str2) {  
>   concat(str1,str2)
> }
> with result as cat("w229","4u1") 
> select value result;
> The above gives:
>  Unknown function cat@2 [CompilationException]
> Whereas the following works correctly:
> with result as concat("w229","4u1") 
> select value result;



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message