[teiid-issues] [JBoss JIRA] (TEIID-5727) Add bound functions and procedures to Teiid
Steven Hawkins (Jira)
issues at jboss.org
Tue Apr 23 11:54:01 EDT 2019
[ https://issues.jboss.org/browse/TEIID-5727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13725603#comment-13725603 ]
Steven Hawkins commented on TEIID-5727:
---------------------------------------
> Since the bound action is with an entity we somehow implicitly need to tie with it, like with an access pattern for a procedure or default parameter that is provided automatically filled by the odata framework?
I have to refine what I'm showing above. We do need an explicit first json parameter that is associated to an odata entity type:
create virtual procedure bound_proc (bound json options ("teiid_odata:bound_type" "some.type.name"), ... ) returns ... as ...
In the odata layer we'd have to evaluate to get the entity, serialize it to json, then call the procedure.
> Add bound functions and procedures to Teiid
> -------------------------------------------
>
> Key: TEIID-5727
> URL: https://issues.jboss.org/browse/TEIID-5727
> Project: Teiid
> Issue Type: Enhancement
> Reporter: Christoph John
> Assignee: Steven Hawkins
> Priority: Optional
>
> As far as I understood virtual procedures and functions are unbound only in the current implementation in Teiid. Would be nice if there would be a option to have bound (to entities and entity sets) procedures and functions as well.
> This would allow for some more syntactic sugar and would allow for a closer integration with libraries such as SAPUI5. See here for an example
> https://sapui5.netweaver.ondemand.com/sdk/#/topic/b54f7895b7594c61a83fa7257fa9d13f.html
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the teiid-issues
mailing list