Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-3619

HBase translator - INSERT and UPDATE statements have no effect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.12
    • 8.7.1.6_2
    • None
    • None

      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"

            kylinsoong.1214@gmail.com Kylin Soong (Inactive)
            jdurani Juraj DurĂ¡ni (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: