Debian Codegraph @

test/command/suite/select/sortby/geo/distance/not_indexed.expected

raw
1 table_create Locations TABLE_PAT_KEY WGS84GeoPoint
2 [[0,0.0,0.0],true]
3 table_create Shops TABLE_NO_KEY
4 [[0,0.0,0.0],true]
5 column_create Shops name COLUMN_SCALAR ShortText
6 [[0,0.0,0.0],true]
7 column_create Shops location COLUMN_SCALAR WGS84GeoPoint
8 [[0,0.0,0.0],true]
9 column_create Locations shop COLUMN_INDEX Shops location
10 [[0,0.0,0.0],true]
11 load --table Shops
12 [
13 {"name":"根津のたいやき", "location":"128592911x503145263"},
14 {"name":"たい焼 カタオカ", "location":null}
15 ]
16 [[0,0.0,0.0],2]
17 select Shops --sortby 'geo_distance(location, "35.67487x139.76352")' --output_columns '_id, name, location'
18 [
19 [
20 0,
21 0.0,
22 0.0
23 ],
24 [
25 [
26 [
27 2
28 ],
29 [
30 [
31 "_id",
32 "UInt32"
33 ],
34 [
35 "name",
36 "ShortText"
37 ],
38 [
39 "location",
40 "WGS84GeoPoint"
41 ]
42 ],
43 [
44 1,
45 "根津のたいやき",
46 "128592911x503145263"
47 ],
48 [
49 2,
50 "たい焼 カタオカ",
51 "0x0"
52 ]
53 ]
54 ]
55 ]