Bug 1295461 - Using a Teiid language based virtual function causes an error
Summary: Using a Teiid language based virtual function causes an error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Teiid
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ER1
: 6.3.0
Assignee: Van Halbert
QA Contact: Andrej Smigala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-04 15:20 UTC by Andrej Smigala
Modified: 2016-08-24 11:50 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-08-24 11:50:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIID-3270 0 Major Closed Allow UDFs to call Teiid functions 2016-06-13 19:15:27 UTC

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


Note You need to log in before you can comment on or make changes to this bug.