Debian Codegraph @

test/command/suite/select/function/vector/vector_slice/negative_length.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, 1, -2)'
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 "Full text search"
43 ]
44 ],
45 [
46 [
47 "Groonga",
48 "Full text search",
49 "Ruby"
50 ],
51 [
52 "Full text search",
53 "Ruby"
54 ]
55 ],
56 [
57 [],
58 []
59 ]
60 ]
61 ]
62 ]