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

Allow procedures to be called with end defaultable inputs

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 8.2
    • 8.2
    • Query Engine
    • None
    • Documentation (Ref Guide, User Guide, etc.), Release Notes

      We should allow procedures to be called positionally and use default values for end parameters if they are not specified.

      Condiser:

      create foreign procedure proc (x integer, y string);

      If you currently issue "call proc()", we'll assume named parameters and use "call proc(null, null)".

      If you issue "call proc(1)", you'll get an exception. The new behavior would be to use "call proc(1, null)".

      Of course something like "call proc('a')" would still result in an exception.

            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: