Bug 1295461

Summary: Using a Teiid language based virtual function causes an error
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Andrej Smigala <asmigala>
Component: TeiidAssignee: Van Halbert <vhalbert>
Status: CLOSED CURRENTRELEASE QA Contact: Andrej Smigala <asmigala>
Severity: urgent Docs Contact:
Priority: high    
Version: 6.3.0CC: aszczucz, blafond, jolee, mbaluch, thauser, vhalbert
Target Milestone: ER1   
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-24 11:50:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrej Smigala 2016-01-04 15:20:56 UTC
Running SELECT f1(42) AS c; against the vdb below results in the following error:

org.teiid.api.exception.query.QueryResolverException: TEIID30068 The function 'f1(42)' is an unknown form.  Check that the function name and number of arguments is correct.


<vdb name="ddlfunctions" version="1">
	<model visible="true" type="VIRTUAL" name="FunctionModel">
		<metadata type="DDL"><![CDATA[   	  
 	   CREATE VIRTUAL FUNCTION f1(p1 integer) RETURNS integer AS RETURN p1;
      ]]>
		</metadata>
	</model>
</vdb>



DV 6.3 DR1

Comment 2 JBoss JIRA Server 2016-01-04 18:56:52 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-3270 to Resolved

Comment 3 JBoss JIRA Server 2016-06-13 19:15:27 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-3270 to Closed