Debian Codegraph @

test/command/suite/select/output_columns/expression/number_plus_vector.expected

raw
1 table_create Entries TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Entries tags COLUMN_VECTOR ShortText
4 [[0,0.0,0.0],true]
5 load --table Entries
6 [
7 {"tags": ["A", "B"]}
8 ]
9 [[0,0.0,0.0],1]
10 select Entries --output_columns '_id, 1 + tags' --command_version 3
11 {
12 "header": {
13 "return_code": -22,
14 "start_time": 0.0,
15 "elapsed_time": 0.0,
16 "error": {
17 "message": "<+> doesn't support non-vector + vector: <1> + <[\"A\", \"B\"]>",
18 "function": "expr_exec_internal",
19 "file": "expr_executor.cpp",
20 "line": 0
21 }
22 },
23 "body": {
24 "n_hits": 1,
25 "columns": [
26 {
27 "name": "_id",
28 "type": "UInt32"
29 },
30 {
31 "name": "(1 + tags)",
32 "type": "Int32"
33 }
34 ],
35 "records": [
36 [
37 1,
38 "<+> doesn't support non-vector + vector: <1> + <[\"A\", \"B\"]>"
39 ]
40 ]
41 }
42 }
43 #|e| <+> doesn't support non-vector + vector: <1> + <["A", "B"]>