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

Return parameter not created when importing UDF from dynamic VDB

    XMLWordPrintable

Details

    Description

      When importing a dynamic VDB containing a UDF, the imported UDF is missing the RETURN parameter. This parameter is not specified as parameter in the DDL, but rather in the RETURNS clause.

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <vdb name="UdfProcedureVdb" version="1">
      	<description />
      	<property name="validationDateTime" value="Tue Nov 10 13:18:14 CET 2015" />
      	<property name="validationVersion" value="8.7.1" />
      	<model name="ProcedureModel" type="VIRTUAL">
      		<metadata type="DDL"><![CDATA[
      CREATE VIRTUAL FUNCTION udfConcatNull (stringLeft string(4000), stringRight string(4000)) RETURNS string OPTIONS("FUNCTION-CATEGORY" 'MY_TESTING_FUNCTION_CATEGORY', JAVA_CLASS 'userdefinedfunctions.MyConcatNull', JAVA_METHOD 'myConcatNull')
      
      ]]></metadata>
      	</model>
      </vdb>
      

      Attachments

        Issue Links

          Activity

            People

              blafond Barry LaFond
              asmigala@redhat.com Andrej Smigala
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: