56 lines
3.6 KiB
Plaintext
56 lines
3.6 KiB
Plaintext
----------------Case1 start----------------
|
|
rowkey json: { "table_name":"part_hash", "row":[ [1], [2], [3] ] };
|
|
part_ids: [1, 2, 3]
|
|
rowkey_lists: [[0], [1], [2]]
|
|
----------------Case1 end----------------
|
|
----------------Case2 start----------------
|
|
rowkey json: { "table_name":"part_hash2", "row":[ [1, 1], [2, 1], [3, 3] ] };
|
|
part_ids: [2, 3, 1]
|
|
rowkey_lists: [[0], [1], [2]]
|
|
----------------Case2 end----------------
|
|
----------------Case3 start----------------
|
|
rowkey json: { "table_name":"part_hash2", "row":[ [1, 1], [2, 2], [3, 2], [4, 4], [7, 8], [10, 10] ] };
|
|
part_ids: [2, 4, 0, 3]
|
|
rowkey_lists: [[0], [1], [2, 4, 5], [3]]
|
|
----------------Case3 end----------------
|
|
----------------Case4 start----------------
|
|
rowkey json: { "table_name":"part_key", "row":[ [1, "abc"],[2, "bcd"],[3, "cde"],[4, "def"],[5, "efh"],[6, "efj"] ] };
|
|
part_ids: [3, 1, 0, 2]
|
|
rowkey_lists: [[0], [1, 5], [2, 4], [3]]
|
|
----------------Case4 end----------------
|
|
----------------Case5 start----------------
|
|
rowkey json: { "table_name":"part_key2", "row":[ [1, 1], [100, 1], [3, 3], [66, 7], [5, 5], [6, 6], [10,10] ] };
|
|
part_ids: [2, 0, 3, 1]
|
|
rowkey_lists: [[0], [1, 3, 4], [2, 5], [6]]
|
|
----------------Case5 end----------------
|
|
----------------Case6 start----------------
|
|
rowkey json: { "table_name":"part_range", "row":[ [1, "20140109"], [2, "2015-01-06 00:00:01"], [3, "20160708"], [4, "20160915000000"], [5, "2017-10-19 10:00:00"], [6, "2018-12-31"] ] };
|
|
part_ids: [0, 1, 2, 3, 4]
|
|
rowkey_lists: [[0], [1], [2, 3], [4], [5]]
|
|
----------------Case6 end----------------
|
|
----------------Case7 start----------------
|
|
rowkey json: { "table_name":"part_range", "row":[ [1, null], [2, null], [3, "20160708"], [4, "20160915000000"], [5, "2017-10-19 10:00:00"], [6, "2018-12-31"] ] };
|
|
part_ids: [0, 2, 3, 4]
|
|
rowkey_lists: [[0, 1], [2, 3], [4], [5]]
|
|
----------------Case7 end----------------
|
|
----------------Case8 start----------------
|
|
rowkey json: { "table_name":"part_hash2", "row":[ [1, null], [2, null], [3, 5], [null, 4], [7, 8], [10, 11] ] };
|
|
part_ids: [0, 3, 1]
|
|
rowkey_lists: [[0, 1, 3, 4], [2], [5]]
|
|
----------------Case8 end----------------
|
|
----------------Case9 start----------------
|
|
rowkey json: { "table_name":"part_range_hash", "row":[ [1, "20140109"], [2, "2015-01-06 00:00:01"], [3, "20160708"], [4, "20160915000000"], [5, "2017-10-19 10:00:00"], [6, "2018-12-31"] ] };
|
|
part_ids: [1152921504875282433, 1152921509170249730, 1152921513465217027, 1152921513465217028, 1152921517760184320, 1152921522055151617]
|
|
rowkey_lists: [[0], [1], [2], [3], [4], [5]]
|
|
----------------Case9 end----------------
|
|
----------------Case10 start----------------
|
|
rowkey json: { "table_name":"part_range_hash", "row":[ [1, null], [2, null], [3, "20160708"], [4, "20160915000000"], [5, "2017-10-19 10:00:00"], [6, "2018-12-31"] ] };
|
|
part_ids: [1152921504875282433, 1152921504875282434, 1152921513465217027, 1152921513465217028, 1152921517760184320, 1152921522055151617]
|
|
rowkey_lists: [[0], [1], [2], [3], [4], [5]]
|
|
----------------Case10 end----------------
|
|
----------------Case11 start----------------
|
|
rowkey json: { "table_name":"part_range_hash", "row":[ [1, null], [2, null], [3, 5], [null, 4], [7, 8], [10, 11] ] };
|
|
part_ids: [1152921504875282433, 1152921504875282434, 1152921504875282435, 1152921504875282432]
|
|
rowkey_lists: [[0], [1, 4], [2], [3, 5]]
|
|
----------------Case11 end----------------
|