[teiid-issues] [JBoss JIRA] (TEIID-3216) Implement INSERT, UPDATE and DELETE support for google-spreadsheet connector

Filip Elias (JIRA) issues at jboss.org
Fri Dec 12 10:04:29 EST 2014


    [ https://issues.jboss.org/browse/TEIID-3216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027383#comment-13027383 ] 

Filip Elias commented on TEIID-3216:
------------------------------------

I believe expressions can be used as update values. For example, these queries works: 
{code}update worksheet set cislo = (cislo +1999) where cislo > 2000 and jmeno = 'Pepik' {code}
{code}update worksheet set cislo = (select cislo from worksheet where Jmeno = 'aaa') where cislo =1000{code}

You say that "LIKE" limitation could be addressed with capabilities. How can I disable "LIKE" capability for update or delete statements?

Characters needing URL encoding are not supported for date/timestamp/time columns. String columns support any characters.

> Implement INSERT, UPDATE and DELETE support for google-spreadsheet connector
> ----------------------------------------------------------------------------
>
>                 Key: TEIID-3216
>                 URL: https://issues.jboss.org/browse/TEIID-3216
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: Misc. Connectors
>            Reporter: Filip Elias
>            Assignee: Filip Elias
>             Fix For: 8.10
>
>
> Current plan is to use list-based feed of the Google Data API[1].
> There are three known issues:
> performance - to delete/update 100 rows Teiid must generate 100 http requests
> consistency - user wants to update 50 rows. After the 10th row is updated the connection could fail which would cause that 10 rows would be updated and 40 wouldn't.
> headers - update, delete and and insert statements will be supported only for the spreadsheets that have a header for each column (headers are in the first row of a spreadsheet)
> Select statement is implemented using Google Visualisation API, but this API doesn't support updates and doesn't return row numbers.
> [1] https://developers.google.com/google-apps/spreadsheets/



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the teiid-issues mailing list