Debian Codegraph @

test/command/suite/select/function/h3_in_grid_disk/selector/valid.expected

raw
1 plugin_register tokenizers/h3_index
2 [[0,0.0,0.0],true]
3 plugin_register functions/h3
4 [[0,0.0,0.0],true]
5 table_create H3Indexes TABLE_PAT_KEY UInt64 --default_tokenizer 'TokenH3Index("resolution", 10)'
6 [[0,0.0,0.0],true]
7 table_create Data TABLE_HASH_KEY ShortText
8 [[0,0.0,0.0],true]
9 column_create Data location COLUMN_SCALAR WGS84GeoPoint
10 [[0,0.0,0.0],true]
11 column_create H3Indexes data_location COLUMN_INDEX Data location
12 [[0,0.0,0.0],true]
13 load --table Data
14 [
15 {"_key": "ClearCode: 35.80460x139.45649", "location": "35.80460x139.45649"},
16 {"_key": "Shin Tokorozawa: 35.80747x139.45602", "location": "35.80747x139.45602"},
17 {"_key": "Koku koen: 35.79841x139.46573", "location": "35.79841x139.46573"}
18 ]
19 [[0,0.0,0.0],3]
20 select Data --filter 'h3_in_grid_disk(location, "35.80460x139.45649", 10, 3)'
21 [
22 [
23 0,
24 0.0,
25 0.0
26 ],
27 [
28 [
29 [
30 2
31 ],
32 [
33 [
34 "_id",
35 "UInt32"
36 ],
37 [
38 "_key",
39 "ShortText"
40 ],
41 [
42 "location",
43 "WGS84GeoPoint"
44 ]
45 ],
46 [
47 1,
48 "ClearCode: 35.80460x139.45649",
49 "128896560x502043364"
50 ],
51 [
52 2,
53 "Shin Tokorozawa: 35.80747x139.45602",
54 "128906892x502041672"
55 ]
56 ]
57 ]
58 ]