-
Notifications
You must be signed in to change notification settings - Fork 24
1.0.1 Release Notes (2023 02 09)
IHEII edited this page Feb 9, 2023
·
1 revision
Previous Release Notes: 1.0.0 Release Notes (2023 01 03)
Fix some bugs in Mutation, and improve the performance and usability of Mutation.
Add demo for Mutation
We have fixed some bugs which will lead to unexpected errors, and some noteworthy bugs are listed below.
- Missing rowkey in BatchOperation of Mutation: Client could not send BatchOperation request to the server after initialing in some cases.
- Empty traceId in some operations both in Mutation and other methods: traceId(which is used to debug) is 0 when the request is successfully executed with insignificant error inside the response.
- Allow duplicate rowkey between rowkey and mutateRow in Mutation
// Now you can
MutationResult updateResult = client.update("Test")
.setRowKey(colVal("rowkey", 0L)) // rowkey duplicate with MutateRow
.addMutateRow(row(colVal("rowkey", 0L), colVal("temp", "tempValue"))) // rowkey duplicate with RowKey
.execute();
- Optimize BatchOperation with operations in the same type
// Same type operations
Insert insert_0 = insert();
Insert insert_1 = insert();
// Faster
BatchOperation batchOperation = batchOperation("test_mutation").addOperation(insert_0, insert_1);
- update module and artifact name
A simple Demo of Mutation could be found at Mutation Demo Some function of Mutation is still unsupported now, see readme of the demo.