Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-2871

Query fails with: ASX1079: Compilation error: Recursive invocation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.6
    • 0.9.7
    • COMP - Compiler
    • None

    Description

      The following query fails with "Compilation error: Recursive invocation test.f1b(1) <==> test.f1a(1)" even though there's no recursive function invocation there.

      drop dataverse test if exists;
      create dataverse test;
      use test;
      create function f1a(a) { -a };
      create function f1b(b) { f1a(b) + f1a(b) };
      
      select r, f1a(r) f1a, f1b(r) f1b
      from range(1,2) r
      order by r;
      

      Attachments

        Activity

          People

            dlychagin-cb Dmitry Lychagin
            dlychagin-cb Dmitry Lychagin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: