Debian Codegraph @

test/command/suite/select/columns/flags/vector/reference_to_number.expected

raw
1 table_create Numbers TABLE_HASH_KEY UInt8
2 [[0,0.0,0.0],true]
3 table_create Items TABLE_NO_KEY
4 [[0,0.0,0.0],true]
5 column_create Items numbers COLUMN_VECTOR Numbers
6 [[0,0.0,0.0],true]
7 load --table Items
8 [
9 {"numbers": [1, 0, 2]},
10 {"numbers": []},
11 {"numbers": [255]}
12 ]
13 [[0,0.0,0.0],3]
14 select Items --columns[vector].stage initial --columns[vector].flags COLUMN_VECTOR --columns[vector].type UInt64 --columns[vector].value 'numbers'
15 [
16 [
17 0,
18 0.0,
19 0.0
20 ],
21 [
22 [
23 [
24 3
25 ],
26 [
27 [
28 "_id",
29 "UInt32"
30 ],
31 [
32 "vector",
33 "UInt64"
34 ],
35 [
36 "numbers",
37 "Numbers"
38 ]
39 ],
40 [
41 1,
42 [
43 1,
44 0,
45 2
46 ],
47 [
48 1,
49 0,
50 2
51 ]
52 ],
53 [
54 2,
55 [],
56 []
57 ],
58 [
59 3,
60 [
61 255
62 ],
63 [
64 255
65 ]
66 ]
67 ]
68 ]
69 ]