[
https://issues.jboss.org/browse/TEIID-2572?page=com.atlassian.jira.plugin...
]
Steven Hawkins resolved TEIID-2572.
-----------------------------------
Resolution: Done
Added native-query support to functions and updated the release notes/docs.
Add native-query functionality to pushdown functions
----------------------------------------------------
Key: TEIID-2572
URL:
https://issues.jboss.org/browse/TEIID-2572
Project: Teiid
Issue Type: Enhancement
Components: Connector API
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.5
Source functions should also support the parameterized native-query extension property to
easily add calls that use non-standard or mapped function syntax.
For an operator like pg bit shift left:
{code}
create foreign function bsl (arg1 integer, arg2 integer) returns integer OPTIONS
("teiid_rel:native-query" '$1 << $2')
{code}
For an oracle sequence:
{code}
create foreign function seq_nextval () returns integer OPTIONS
("teiid_rel:native-query" 'seq.nextval')
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira