You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/01/19 06:22:39 UTC

[jira] [Commented] (ASTERIXDB-1258) Sqlpp does not recognize recursive UDF calls

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

ASF subversion and git services commented on ASTERIXDB-1258:
------------------------------------------------------------

Commit 9b0bd6d8c839f9e335c004686fd79294fc6e0a2f in incubator-asterixdb's branch refs/heads/master from [~buyingyi]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-asterixdb.git;h=9b0bd6d ]

ASTERIXDB-1258, ASTERIXDB-1259: fix test queries.

Change-Id: I6b3a7d26a1931e4ec146e243f2b89d2586996b75
Reviewed-on: https://asterix-gerrit.ics.uci.edu/588
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <hu...@gmail.com>


> Sqlpp does not recognize recursive UDF calls
> --------------------------------------------
>
>                 Key: ASTERIXDB-1258
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1258
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: AsterixDB
>            Reporter: Murtadha Hubail
>            Assignee: Yingyi Bu
>            Priority: Minor
>
> The following AQL statements correctly detect recursion on UDF (which is tested in runtimets/queries/cross-dataverse/cross-dv16). Whereas their equivelent Sqlpp statements throw the exception "SyntaxError:  function testdv1.fun03@0 depends upon function testdv1.fun04@0 which is undefined"
> drop dataverse testdv1 if exists;
> create dataverse testdv1;
> // UDF with no inputs
> create function testdv1.fun01(){
> testdv1.fun02()
> }
> // UDF with one input
> create function testdv1.fun02(){
> testdv1.fun03()
> }
> // UDF with two inputs
> create function testdv1.fun03(){
> testdv1.fun04()
> }
> create function testdv1.fun04(){
> testdv1.fun02()
> }
> use dataverse testdv1;
> testdv1.fun01() 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)