[teiid-issues] [JBoss JIRA] (TEIID-5729) Introduce mechanism or option to allow for mapping of side effect free Teiid procedures to ODATA functions, and actions if procedure has side effects

Steven Hawkins (Jira) issues at jboss.org
Thu Jun 20 21:12:00 EDT 2019


    [ https://issues.jboss.org/browse/TEIID-5729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13749714#comment-13749714 ] 

Steven Hawkins commented on TEIID-5729:
---------------------------------------

> I have not found the relevant section in the documentation. Could you please add a link?

http://teiid.github.io/teiid-documents/master/content/client-dev/OData4_Support.html

> Furthermore, as far as I understand your comment, simply adding OPTIONS(UPDATECOUNT '0') will force the procedure to become a function?
> a function also always needs to have a return value. Is this also considered? 

No, it must meet all of the conditions from the link above.

> I assume INOUT parameters are ignored as return values?

INOUT are treated simply as IN, which is also mentioned on that page.

> Introduce mechanism or option to allow for mapping of side effect free Teiid procedures to ODATA functions, and actions if procedure has side effects
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TEIID-5729
>                 URL: https://issues.jboss.org/browse/TEIID-5729
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: OData
>            Reporter: Christoph John
>            Assignee: Steven Hawkins
>            Priority: Major
>             Fix For: 12.3
>
>
> This is a follow up regarding https://issues.jboss.org/browse/TEIID-5725
> As discussed there, Teiid currently does not map virtual procedures and functions to odata functions and procedures according to the notion of "side effect free"
> Please introduce a mechanism to allow for a mapping according to adequate odata semantics.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the teiid-issues mailing list