[teiid-issues] [JBoss JIRA] (TEIID-2581) vararg stored procedure error with empty call

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Tue Jul 16 08:06:26 EDT 2013


     [ https://issues.jboss.org/browse/TEIID-2581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-2581.
-----------------------------------

    Resolution: Done


Updated the named parameter resolving to check if the missing parameter is varargs.
                
> vararg stored procedure error with empty call
> ---------------------------------------------
>
>                 Key: TEIID-2581
>                 URL: https://issues.jboss.org/browse/TEIID-2581
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 8.2
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 8.4.1, 8.5
>
>
> A stored procedure with a single in parameter that is marked as varargs will throw an error in the LanguageBridgeFactory because the resolver will have resolved the procedure as if using named parameters and will pass a null array.
> For example:
> create foreign procedure proc (VARIADIC z integer) returns (x string);
> call proc() //will fail

--
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


More information about the teiid-issues mailing list