Bug 1304743 (TEIID-3950-DV6.2.3) - UDFs aren't found when using old function definitions model
Summary: UDFs aren't found when using old function definitions model
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: TEIID-3950-DV6.2.3
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Compatibility
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: jolee
QA Contact: Andrej Smigala
URL:
Whiteboard:
Depends On:
Blocks: 1289142
TreeView+ depends on / blocked
 
Reported: 2016-02-04 14:04 UTC by dsteigne
Modified: 2019-10-10 11:06 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-24 11:49:24 UTC
Type: Support Patch
Embargoed:


Attachments (Terms of Use)
Sample Model Project Set using old UDF functiondef model (84.09 KB, application/zip)
2016-02-04 14:04 UTC, dsteigne
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIID-3950 0 Major Resolved UDFs aren't found when using old function definitions model 2017-04-28 19:55:27 UTC
Red Hat Knowledge Base (Solution) 2140071 0 None None None 2016-02-04 14:07:29 UTC

Description dsteigne 2016-02-04 14:04:17 UTC
Created attachment 1121109 [details]
Sample Model Project Set using old UDF functiondef model

Description of problem:
See https://issues.jboss.org/browse/TEIID-3950

When migrating an old VDB that contains the old functiondefinitions model the server sees it as a Function model[1] but the functions are not found [2]when you try to use them.

[1] [org.teiid.RUNTIME] (MSC service thread 1-7) Model udfTokenFunctions in VDB oldUDF skipped being loaded because of its type FUNCTION

[2] [org.teiid.PROCESSOR] (Worker0_QueryProcessorQueue10) org.teiid.api.exception.query.QueryResolverException: TEIID30068 The function 'getToken('125421', '?', 2)' is an unknown form. Check that the function name and number of arguments is correct. Sending error to client 1trCiU5AkzFn.5


Version-Release number of selected component (if applicable):
6.2.2

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 dsteigne 2016-02-04 14:17:07 UTC
Tested each version and this works in 6.0 but doesn't in 6.1 and 6.2. According to Engineering the server should still recognize the old UDF models.

Comment 3 JBoss JIRA Server 2016-02-04 16:05:28 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-3950 to Resolved

Comment 4 jolee 2016-02-11 17:50:18 UTC
git:jboss-integration/teiid.git : 8.7.x-prod-ipv6.2 : 0cdbd6d

git:teiid/teiid.git : 62-8.7.x : 0cdbd6d


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