Debian Codegraph @

test/command/suite/load/index/online/scalar/h3_index.test

raw
1 #@on-error omit
2 plugin_register tokenizers/h3_index
3 #@on-error default
4
5 table_create H3Indexes TABLE_PAT_KEY UInt64 \
6 --default_tokenizer 'TokenH3Index("resolution", 8)'
7
8 table_create Locations TABLE_PAT_KEY ShortText
9 column_create Locations location COLUMN_SCALAR WGS84GeoPoint
10
11 column_create H3Indexes locations_location COLUMN_INDEX Locations location
12
13 load --table Locations
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
20 select H3Indexes