Debian Codegraph @

test/command/suite/select/drilldowns/keys/multiple_reference_vector.expected

raw
1 table_create Tags TABLE_PAT_KEY ShortText
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 Tags
6 [[0,0.0,0.0],true]
7 column_create Memos date COLUMN_SCALAR Time
8 [[0,0.0,0.0],true]
9 load --table Memos
10 [
11 {"_key": "Groonga is fast!", "tags": ["full-text-search"], "date": "2014-11-16 00:00:00"},
12 {"_key": "Mroonga is fast!", "tags": ["mysql", "full-text-search"], "date": "2014-11-16 00:00:00"},
13 {"_key": "Groonga sticker!", "tags": ["full-text-search", "sticker"], "date": "2014-11-16 00:00:00"},
14 {"_key": "Rroonga is fast!", "tags": ["full-text-search", "ruby"], "date": "2014-11-17 00:00:00"},
15 {"_key": "Groonga is good!", "tags": ["full-text-search"], "date": "2014-11-17 00:00:00"}
16 ]
17 [[0,0.0,0.0],5]
18 select Memos --drilldowns[tags].keys tags,date --drilldowns[tags].output_columns _key[0],_key[1],_nsubrecs
19 [
20 [
21 0,
22 0.0,
23 0.0
24 ],
25 [
26 [
27 [
28 5
29 ],
30 [
31 [
32 "_id",
33 "UInt32"
34 ],
35 [
36 "_key",
37 "ShortText"
38 ],
39 [
40 "date",
41 "Time"
42 ],
43 [
44 "tags",
45 "Tags"
46 ]
47 ],
48 [
49 1,
50 "Groonga is fast!",
51 1416063600.0,
52 [
53 "full-text-search"
54 ]
55 ],
56 [
57 2,
58 "Mroonga is fast!",
59 1416063600.0,
60 [
61 "mysql",
62 "full-text-search"
63 ]
64 ],
65 [
66 3,
67 "Groonga sticker!",
68 1416063600.0,
69 [
70 "full-text-search",
71 "sticker"
72 ]
73 ],
74 [
75 4,
76 "Rroonga is fast!",
77 1416150000.0,
78 [
79 "full-text-search",
80 "ruby"
81 ]
82 ],
83 [
84 5,
85 "Groonga is good!",
86 1416150000.0,
87 [
88 "full-text-search"
89 ]
90 ]
91 ],
92 {
93 "tags": [
94 [
95 5
96 ],
97 [
98 [
99 "_key[0]",
100 null
101 ],
102 [
103 "_key[1]",
104 null
105 ],
106 [
107 "_nsubrecs",
108 "Int32"
109 ]
110 ],
111 [
112 "full-text-search",
113 1416063600.0,
114 3
115 ],
116 [
117 "mysql",
118 1416063600.0,
119 1
120 ],
121 [
122 "sticker",
123 1416063600.0,
124 1
125 ],
126 [
127 "full-text-search",
128 1416150000.0,
129 2
130 ],
131 [
132 "ruby",
133 1416150000.0,
134 1
135 ]
136 ]
137 }
138 ]
139 ]