Debian Codegraph @

test/command/suite/select/function/vector/vector_slice/from.expected

raw
1 plugin_register functions/vector
2 [[0,0.0,0.0],true]
3 table_create Memos TABLE_HASH_KEY ShortText
4 [[0,0.0,0.0],true]
5 column_create Memos tags COLUMN_VECTOR ShortText
6 [[0,0.0,0.0],true]
7 load --table Memos
8 [
9 {"_key": "Groonga", "tags": ["Groonga", "Full text search"]},
10 {"_key": "Rroonga", "tags": ["Groonga", "Full text search", "Ruby"]},
11 {"_key": "Nothing"}
12 ]
13 [[0,0.0,0.0],3]
14 select Memos --output_columns 'tags, vector_slice(tags, 2, 1)'
15 [
16 [
17 0,
18 0.0,
19 0.0
20 ],
21 [
22 [
23 [
24 3
25 ],
26 [
27 [
28 "tags",
29 "ShortText"
30 ],
31 [
32 "vector_slice",
33 null
34 ]
35 ],
36 [
37 [
38 "Groonga",
39 "Full text search"
40 ],
41 []
42 ],
43 [
44 [
45 "Groonga",
46 "Full text search",
47 "Ruby"
48 ],
49 [
50 "Ruby"
51 ]
52 ],
53 [
54 [],
55 []
56 ]
57 ]
58 ]
59 ]