[ https://issues.apache.org/jira/browse/ASTERIXDB-1875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Jacobs updated ASTERIXDB-1875: ------------------------------------- Description: 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; was: create function cat(str1,str2) { concat(str1,str2) } with result as cat("w229","4u1") select value result; The above gives an internal error, whereas the following works correctly: with result as concat("w229","4u1") select value result; > 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: Yingyi Bu > > 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)