Debian Codegraph @

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

raw
1 table_create Shops TABLE_HASH_KEY ShortText
2 column_create Shops location COLUMN_SCALAR WGS84GeoPoint
3
4 table_create Locations TABLE_PAT_KEY WGS84GeoPoint
5 column_create Locations shop COLUMN_INDEX Shops location
6
7 load --table Shops
8 [
9 {"_key": "たかね", "location": "128514964x502419287"}
10 ]
11
12 select Shops --filter 'geo_in_circle(location, "128514964x502419287", 1)'
13
14 load --table Shops
15 [
16 {"_key": "たかね", "location": null}
17 ]
18
19 select Shops --filter 'geo_in_circle(location, "128514964x502419287", 1)'
20
21 load --table Shops
22 [
23 {"_key": "たかね", "location": "128514964x502419287"}
24 ]
25
26 select Shops --filter 'geo_in_circle(location, "128514964x502419287", 1)'