Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-3034

Importing Virtual Procedure DDL containing a simple RETURNS type add a Result Set to procedure

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 11.1.2
    • None
    • None

    Description

      testing and debugging for TEIIDDES-2783 exposed an issue when importing a procedure containing a RETURNS data type and no result set.

      The transformation resolving framework contains logic that will auto-create a result set containing a generated column.

      We need to catch this use-case and prevent the result set from being created using this simple DDL input

      CREATE VIRTUAL PROCEDURE ProcedureWithRS (
         stringIN string(4000) OPTIONS(ANNOTATION 'parameter 1 description')
      ) RETURNS string(255) OPTIONS(ANNOTATION 'Example') AS
      BEGIN
      	SELECT stringIN AS result;
      END
      

      Attachments

        Issue Links

          Activity

            People

              blafond Barry LaFond
              blafond Barry LaFond
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: