Debian Codegraph @

test/command/suite/load/geo_point/scalar/update_index.expected

raw
1 table_create Shops TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 column_create Shops location COLUMN_SCALAR WGS84GeoPoint
4 [[0,0.0,0.0],true]
5 table_create Locations TABLE_PAT_KEY WGS84GeoPoint
6 [[0,0.0,0.0],true]
7 column_create Locations shop COLUMN_INDEX Shops location
8 [[0,0.0,0.0],true]
9 load --table Shops
10 [
11 {"_key": "たかね", "location": "128514964x502419287"}
12 ]
13 [[0,0.0,0.0],1]
14 select Shops --filter 'geo_in_circle(location, "128514964x502419287", 1)'
15 [
16 [
17 0,
18 0.0,
19 0.0
20 ],
21 [
22 [
23 [
24 1
25 ],
26 [
27 [
28 "_id",
29 "UInt32"
30 ],
31 [
32 "_key",
33 "ShortText"
34 ],
35 [
36 "location",
37 "WGS84GeoPoint"
38 ]
39 ],
40 [
41 1,
42 "たかね",
43 "128514964x502419287"
44 ]
45 ]
46 ]
47 ]
48 load --table Shops
49 [
50 {"_key": "たかね", "location": null}
51 ]
52 [[0,0.0,0.0],1]
53 select Shops --filter 'geo_in_circle(location, "128514964x502419287", 1)'
54 [
55 [
56 0,
57 0.0,
58 0.0
59 ],
60 [
61 [
62 [
63 0
64 ],
65 [
66 [
67 "_id",
68 "UInt32"
69 ],
70 [
71 "_key",
72 "ShortText"
73 ],
74 [
75 "location",
76 "WGS84GeoPoint"
77 ]
78 ]
79 ]
80 ]
81 ]
82 load --table Shops
83 [
84 {"_key": "たかね", "location": "128514964x502419287"}
85 ]
86 [[0,0.0,0.0],1]
87 select Shops --filter 'geo_in_circle(location, "128514964x502419287", 1)'
88 [
89 [
90 0,
91 0.0,
92 0.0
93 ],
94 [
95 [
96 [
97 1
98 ],
99 [
100 [
101 "_id",
102 "UInt32"
103 ],
104 [
105 "_key",
106 "ShortText"
107 ],
108 [
109 "location",
110 "WGS84GeoPoint"
111 ]
112 ],
113 [
114 1,
115 "たかね",
116 "128514964x502419287"
117 ]
118 ]
119 ]
120 ]