Debian Codegraph @

test/command/suite/select/function/vector/vector_join/weight_reference.expected

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