Debian Codegraph @

test/command/suite/select/index/match/int8.expected

raw
1 table_create Users TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 column_create Users age COLUMN_SCALAR Int8
4 [[0,0.0,0.0],true]
5 table_create Ages TABLE_PAT_KEY Int8
6 [[0,0.0,0.0],true]
7 column_create Ages users_age COLUMN_INDEX Users age
8 [[0,0.0,0.0],true]
9 load --table Users
10 [
11 {"_key": "Alice", "age": 20},
12 {"_key": "Bob", "age": 18}
13 ]
14 [[0,0.0,0.0],2]
15 select Users --filter 'age @ 20'
16 [
17 [
18 0,
19 0.0,
20 0.0
21 ],
22 [
23 [
24 [
25 1
26 ],
27 [
28 [
29 "_id",
30 "UInt32"
31 ],
32 [
33 "_key",
34 "ShortText"
35 ],
36 [
37 "age",
38 "Int8"
39 ]
40 ],
41 [
42 1,
43 "Alice",
44 20
45 ]
46 ]
47 ]
48 ]