[
https://issues.jboss.org/browse/TEIID-2490?page=com.atlassian.jira.plugin...
]
Steven Hawkins commented on TEIID-2490:
---------------------------------------
Actually after reading my own javadoc, null is not used to represent no result set, but is
a valid value:
"return null if unknown, empty if results are not returned, or the resultset
columns"
Are you specifically referring to the case where you are calling resolveCommand with
inferProcedureResultSetColumns=true? If the command is a CreateProcedureCommand and the
result set columns are null on exit, I can set them to empty (or you can just check for
null). Otherwise null needs to be left as a valid result.
org.teiid.query.sql.proc.CreateProcedureCommand.getResultSetColumns()
can return NULL
-------------------------------------------------------------------------------------
Key: TEIID-2490
URL:
https://issues.jboss.org/browse/TEIID-2490
Project: Teiid
Issue Type: Bug
Affects Versions: 8.3
Reporter: Barry LaFond
Assignee: Steven Hawkins
Unlike the getProjectedSymbols() method, the getResultSetColumns() can return null. Could
you consider performing NULL check and return EMPTY LIST instead? Else we have to code
around it.
--
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