Debian Codegraph @

test/command/suite/select/function/h3_grid_distance/invalid_resolution.expected

raw
1 plugin_register functions/h3
2 [[0,0.0,0.0],true]
3 table_create Data TABLE_HASH_KEY ShortText
4 [[0,0.0,0.0],true]
5 column_create Data location COLUMN_SCALAR WGS84GeoPoint
6 [[0,0.0,0.0],true]
7 load --table Data
8 [
9 {"_key": "ClearCode: 35.80460x139.45649", "location": "35.80460x139.45649"},
10 {"_key": "Shin Tokorozawa: 35.80747x139.45602", "location": "35.80747x139.45602"},
11 {"_key": "Koku koen: 35.79841x139.46573", "location": "35.79841x139.46573"}
12 ]
13 [[0,0.0,0.0],3]
14 select Data --output_columns '_key, h3_grid_distance(location, "35.80460x139.45649", -1)'
15 [
16 [
17 [
18 -22,
19 0.0,
20 0.0
21 ],
22 "h3_grid_distance(): resolution must be in 0..15: -1"
23 ],
24 [
25 [
26 [
27 3
28 ],
29 [
30 [
31 "_key",
32 "ShortText"
33 ],
34 [
35 "h3_grid_distance",
36 null
37 ]
38 ],
39 [
40 "ClearCode: 35.80460x139.45649",
41 "h3_grid_distance(): resolution must be in 0..15: -1"
42 ],
43 [
44 "Shin Tokorozawa: 35.80747x139.45602",
45 "h3_grid_distance(): resolution must be in 0..15: -1"
46 ],
47 [
48 "Koku koen: 35.79841x139.46573",
49 "h3_grid_distance(): resolution must be in 0..15: -1"
50 ]
51 ]
52 ]
53 ]
54 #|e| h3_grid_distance(): resolution must be in 0..15: -1