Debian Codegraph @

test/command/suite/sharding/logical_select/cache/query.expected

raw
1 plugin_register sharding
2 [[0,0.0,0.0],true]
3 table_create Memos_20170416 TABLE_NO_KEY
4 [[0,0.0,0.0],true]
5 column_create Memos_20170416 timestamp COLUMN_SCALAR Time
6 [[0,0.0,0.0],true]
7 column_create Memos_20170416 content COLUMN_SCALAR Text
8 [[0,0.0,0.0],true]
9 table_create Memos_20170417 TABLE_NO_KEY
10 [[0,0.0,0.0],true]
11 column_create Memos_20170417 timestamp COLUMN_SCALAR Time
12 [[0,0.0,0.0],true]
13 column_create Memos_20170417 content COLUMN_SCALAR Text
14 [[0,0.0,0.0],true]
15 load --table Memos_20170416
16 [
17 {"timestamp": "2017/04/16 00:00:00", "content": "Groonga is fast."},
18 {"timestamp": "2017/04/16 01:00:00", "content": "Mroonga is fast and easy to use."}
19 ]
20 [[0,0.0,0.0],2]
21 load --table Memos_20170417
22 [
23 {"timestamp": "2017/04/17 10:00:00", "content": "PGroonga is fast and easy to use."},
24 {"timestamp": "2017/04/17 11:00:00", "content": "Rroonga is fast and easy to use."}
25 ]
26 [[0,0.0,0.0],2]
27 logical_select Memos --shard_key timestamp --query 'content:@easy'
28 [
29 [
30 0,
31 0.0,
32 0.0
33 ],
34 [
35 [
36 [
37 3
38 ],
39 [
40 [
41 "_id",
42 "UInt32"
43 ],
44 [
45 "content",
46 "Text"
47 ],
48 [
49 "timestamp",
50 "Time"
51 ]
52 ],
53 [
54 2,
55 "Mroonga is fast and easy to use.",
56 1492272000.0
57 ],
58 [
59 1,
60 "PGroonga is fast and easy to use.",
61 1492390800.0
62 ],
63 [
64 2,
65 "Rroonga is fast and easy to use.",
66 1492394400.0
67 ]
68 ]
69 ]
70 ]
71 logical_select Memos --shard_key timestamp --query 'content:@groonga'
72 [
73 [
74 0,
75 0.0,
76 0.0
77 ],
78 [
79 [
80 [
81 2
82 ],
83 [
84 [
85 "_id",
86 "UInt32"
87 ],
88 [
89 "content",
90 "Text"
91 ],
92 [
93 "timestamp",
94 "Time"
95 ]
96 ],
97 [
98 1,
99 "Groonga is fast.",
100 1492268400.0
101 ],
102 [
103 1,
104 "PGroonga is fast and easy to use.",
105 1492390800.0
106 ]
107 ]
108 ]
109 ]