[teiid-issues] [JBoss JIRA] (TEIID-3619) HBase translator - INSERT and UPDATE statements have no effect

Kylin Soong (JIRA) issues at jboss.org
Thu Aug 13 08:32:04 EDT 2015


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

Kylin Soong resolved TEIID-3619.
--------------------------------
    Resolution: Done


Resolve due to

* [1] - update document, Set phoenix.connection.autoCommit  to true if execute INSERT/UPDATE/DELETE 
* [2] - add pull request for update template in build/kits 

[1] https://docs.jboss.org/author/display/TEIID/Phoenix+Data+Sources
[2] https://github.com/teiid/teiid/pull/511

> HBase translator - INSERT and UPDATE statements have no effect
> --------------------------------------------------------------
>
>                 Key: TEIID-3619
>                 URL: https://issues.jboss.org/browse/TEIID-3619
>             Project: Teiid
>          Issue Type: Bug
>    Affects Versions: 8.7.1.6_2
>         Environment: Hbase: 1.1.1
> Phoenix: 4.5.0-HBase-1.1
>            Reporter: Juraj Duráni
>            Assignee: Kylin Soong
>
> Teiid's INSERT and UPDATE statement have no effect [1]. Both statements are translated as UPSERT which needs Connection.commit() to take effect [2].
> [1]
> *select intkey, stringkey from hbase.smalla where intkey = 5*
> |intkey|stringkey|
> |5|5|
> *update hbase.smalla set stringkey = '1000' where intkey = 5*
> no exception here
> *select intkey, stringkey from hbase.smalla where intkey = 5*
> |intkey|stringkey|
> |5|5|
> [2]
> http://phoenix.apache.org/faq.html#I_want_to_get_started_Is_there_a_Phoenix_Hello_World section "2. Using java"



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the teiid-issues mailing list