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

Xikui Wang edited comment on ASTERIXDB-1875 at 4/12/17 1:16 AM:
----------------------------------------------------------------

[~dtabass] Yes they are. Actually a function is stored as it was written in 
CREATE FUNCTION statement. The function name mapping happens at the moment when 
the function is called. I misunderstood that part earlier. 


was (Author: idleft):
[~dtabass] Yes they are. Actually they are stored as it is in CREATE FUNCTION. 
The function name mapping happens at the moment when the function is called. I 
misunderstood that part earlier. 

> 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)

Reply via email to