Skip to content

1.2.4 Release Notes (2023 09 18)

IHEII edited this page Sep 18, 2023 · 3 revisions

OBKV Table Client Java v1.2.2 Release Notes

Previous Release Notes: 1.2.3 Release Notes (2023 08 23)

1. Abstract

1.1 Put

We now support put in mutation. Put is a faster way to insert or update data into the server.

1.2 Refactor OB_VERSION and bugfix

We refactor OB_VERSION and fix some bugs.

2. Put

We now support put in mutation. Put is a faster way to insert or update data into the server. When you want to insert or update every column in your table every time, you could use put to accelerate processing. A simple demo listed below:

InsertOrUpdate insertOrUpdate = client.put("test_table")
                                      .setRowKey(colVal("c1", 4L), colVal("c2", "row_4"))
                                      .addMutateRow(row(colVal("c3", new byte[]{2}), colVal("c4", 104L)));
MutationResult result = insertOrUpdate.execute();
System.out.println("insertOrUpdate " + result.getAffectedRows() + " row!");

3. Refactor OB_VERSION and bugfix

  • Refactor OB_VERSION
  • Fix int type in key partition
  • Fix unrecognized exception in ODP query
  • Fix datetime

Noted:

  • We only care about the time you send to the server in your own timezone. If you write 2000.01.01 00:00 +8 and 2000.01.01 00:00 +0 into the server in two different clients, those will be the same. Both Dates will be written as 2000.01.01 00:00 in the server.
  • When we get a DateTime from the server, we will recognize it as a time in the local timezone.