[teiid-issues] [JBoss JIRA] (TEIID-3966) google spreadsheet translator using Collections.singletonList instance returned by the runtime doesn't support the set method.

marco ardito (JIRA) issues at jboss.org
Wed Feb 10 09:00:00 EST 2016


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

marco ardito updated TEIID-3966:
--------------------------------
    Priority: Major  (was: Blocker)


> google spreadsheet translator using Collections.singletonList instance returned by the runtime  doesn't support the set method. 
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TEIID-3966
>                 URL: https://issues.jboss.org/browse/TEIID-3966
>             Project: Teiid
>          Issue Type: Bug
>          Components: Misc. Connectors
>    Affects Versions: 8.12.4
>            Reporter: marco ardito
>            Assignee: Steven Hawkins
>
> This arised as a follow-up of a forum thread, I tried to create a google spreadsheet dynamic VDB, exposing both the source as is, and also a model with a restricted view using only some fileds in the source model. from the sql client (squirrel) connnected to the vdb, but only the raw source model works, while any query to the view shows error
> org.teiid.core.TeiidException
> SQLState:  38000
> ErrorCode: 0
> In the thread, Steven Hawkins spotted the bug:<<The issue is that the translator is using Collections.singletonList to return the row and the engine is expecting it to be modifiable to avoid the additional copy one the value types are corrected.  The SingletonList instance returned by the runtime unfortunately doesn't support the set method.  >>



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list