[teiid-issues] [JBoss JIRA] (TEIID-5222) Invalid conversion when selecting array
Steven Hawkins (JIRA)
issues at jboss.org
Mon Jan 22 10:50:00 EST 2018
[ https://issues.jboss.org/browse/TEIID-5222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Hawkins resolved TEIID-5222.
-----------------------------------
Fix Version/s: 10.1
Resolution: Done
Applied as a general enhancement to allow all array type conversions that are allowable by the component types.
This can be back ported.
> Invalid conversion when selecting array
> ---------------------------------------
>
> Key: TEIID-5222
> URL: https://issues.jboss.org/browse/TEIID-5222
> Project: Teiid
> Issue Type: Bug
> Components: OData, Query Engine
> Affects Versions: 8.12.x-6.4
> Reporter: Maximilián Košiarčik
> Assignee: Steven Hawkins
> Fix For: 10.1
>
>
> When issuing a query to select array from table in H2 database in teiid such as:
> {code:sql}
> SELECT (a,b) FROM y;
> {code}
> a,b are both strings.
> it throws the following error:
> {noformat}
> Error: TEIID10076 Invalid conversion from type class java.lang.Object with value '[Ljava.lang.Object;@30b0a27' to type class [Ljava.lang.String;
> {noformat}
> When issuing this query against H2 directly it works without error.
> I find the issue when testing TEIID-4380, teiid issues such a query when building the response for deep insert.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the teiid-issues
mailing list