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

UDF not inlined for UnaryExpr and IndexAccessor

    XMLWordPrintableJSON

Details

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

    Description

      Using a UDF with '-' operator causes the query to fail with an illegal state exception because the UDF does not get inlined.
      Here is an example query:

      SELECT -udf(col.f) FROM col;
      

      Attachments

        Activity

          People

            alsuliman Ali Alsuliman
            alsuliman Ali Alsuliman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: