Debian Codegraph @

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