Debian Codegraph @

test/command/suite/load/command_version/3/output_errors/object.expected

raw
1 table_create Numbers TABLE_HASH_KEY UInt32
2 [[0,0.0,0.0],true]
3 load --table Numbers --command_version 3 --output_ids yes --output_errors yes
4 [
5 {"_key": 1},
6 {"_key": "String"},
7 {"_key": 29}
8 ]
9 {
10 "header": {
11 "return_code": -22,
12 "start_time": 0.0,
13 "elapsed_time": 0.0,
14 "error": {
15 "message": "<Numbers>: failed to cast to <UInt32>: <\"String\">",
16 "function": "grn_table_add_by_key",
17 "file": "db.c",
18 "line": 0
19 }
20 },
21 "body": {
22 "n_loaded_records": 2,
23 "loaded_ids": [
24 1,
25 0,
26 2
27 ],
28 "errors": [
29 {
30 "return_code": 0,
31 "message": null
32 },
33 {
34 "return_code": -22,
35 "message": "<Numbers>: failed to cast to <UInt32>: <\"String\">"
36 },
37 {
38 "return_code": 0,
39 "message": null
40 }
41 ]
42 }
43 }
44 #|e| <Numbers>: failed to cast to <UInt32>: <"String">