[teiid-issues] [JBoss JIRA] (TEIID-2226) Validate that result sets returned from a procedure match the expected metadata
Steven Hawkins (JIRA)
jira-events at lists.jboss.org
Wed Sep 26 22:38:02 EDT 2012
[ https://issues.jboss.org/browse/TEIID-2226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722129#comment-12722129 ]
Steven Hawkins commented on TEIID-2226:
---------------------------------------
replaced the path based validation - which is not generally valid with exception handling - with an explicit (WITH|WITHOUT) RETURN clause on a command statement. this is documented in the reference and the release notes.
> Validate that result sets returned from a procedure match the expected metadata
> -------------------------------------------------------------------------------
>
> Key: TEIID-2226
> URL: https://issues.jboss.org/browse/TEIID-2226
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 8.2
>
>
> Very little validation is performed to ensure that the proper resultset is returned from a procedure.
> for example:
> {code}create virtual procedure vproc (x integer) returns table (y integer) as begin if (x = 1) select 1; else select 1, 2; end;{code}
> will return an incorrect result if anything but 1 is passed in, which will cause downstream errors, such as exceptions during serialization (if mismatched types) or npes if too few columns.
--
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