Debian Codegraph @

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

raw
1 table_create Tags TABLE_HASH_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 date COLUMN_SCALAR Time
6 [[0,0.0,0.0],true]
7 column_create Memos tags COLUMN_VECTOR Tags
8 [[0,0.0,0.0],true]
9 load --table Memos
10 [
11 {"_key": "Groonga is fast!", "date": "2014-11-16 00:00:00",
12 "tags": ["Groonga"]},
13 {"_key": "Mroonga is fast!", "date": "2014-11-16 00:00:00",
14 "tags": ["Mroonga", "Groonga"]},
15 {"_key": "Groonga sticker!", "date": "2014-11-16 00:00:00",
16 "tags": ["Groonga"]},
17 {"_key": "Rroonga is fast!", "date": "2014-11-17 00:00:00",
18 "tags": ["Rroonga", "Groonga"]},
19 {"_key": "Groonga is good!", "date": "2014-11-17 00:00:00",
20 "tags": ["Groonga"]}
21 ]
22 [[0,0.0,0.0],5]
23 select Memos --limit 0 --output_columns _id --drilldowns[vector].keys date,tags --drilldowns[vector].output_columns _key[0],_key[1],_nsubrecs --drilldowns[vector].sortby -_nsubrecs,_id
24 [
25 [
26 0,
27 0.0,
28 0.0
29 ],
30 [
31 [
32 [
33 5
34 ],
35 [
36 [
37 "_id",
38 "UInt32"
39 ]
40 ]
41 ],
42 {
43 "vector": [
44 [
45 4
46 ],
47 [
48 [
49 "_key[0]",
50 null
51 ],
52 [
53 "_key[1]",
54 null
55 ],
56 [
57 "_nsubrecs",
58 "Int32"
59 ]
60 ],
61 [
62 1416063600.0,
63 "Groonga",
64 3
65 ],
66 [
67 1416150000.0,
68 "Groonga",
69 2
70 ],
71 [
72 1416063600.0,
73 "Mroonga",
74 1
75 ],
76 [
77 1416150000.0,
78 "Rroonga",
79 1
80 ]
81 ]
82 }
83 ]
84 ]