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

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 11.1.2
    • Component/s: None
    • Labels:
      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
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: