Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-2581

vararg stored procedure error with empty call

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.4.1, 8.5
    • 8.2
    • Query Engine
    • None

      A stored procedure with a single in parameter that is marked as varargs will throw an error in the LanguageBridgeFactory because the resolver will have resolved the procedure as if using named parameters and will pass a null array.

      For example:

      create foreign procedure proc (VARIADIC z integer) returns (x string);

      call proc() //will fail

            rhn-engineering-shawkins Steven Hawkins
            rhn-engineering-shawkins Steven Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: