Debian Codegraph @

test/command/suite/load/bool/cast/tokyo_geo_point.expected

raw
1 table_create Entries TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 column_create Entries location COLUMN_SCALAR TokyoGeoPoint
4 [[0,0.0,0.0],true]
5 load --table Entries
6 [
7 {"_key": "Special news!", "location": true},
8 {"_key": "Surprise news!", "location": false}
9 ]
10 [
11 [
12 [
13 -22,
14 0.0,
15 0.0
16 ],
17 "<Entries.location>: failed to cast to <TokyoGeoPoint>: <false>"
18 ],
19 2
20 ]
21 #|e| <Entries.location>: failed to cast to <TokyoGeoPoint>: <true>
22 #|e| [table][load][Entries][location] failed to set column value: <Entries.location>: failed to cast to <TokyoGeoPoint>: <true>: key: <"Special news!">, value: <true>
23 #|e| <Entries.location>: failed to cast to <TokyoGeoPoint>: <false>
24 #|e| [table][load][Entries][location] failed to set column value: <Entries.location>: failed to cast to <TokyoGeoPoint>: <false>: key: <"Surprise news!">, value: <false>
25 select Entries
26 [
27 [
28 0,
29 0.0,
30 0.0
31 ],
32 [
33 [
34 [
35 2
36 ],
37 [
38 [
39 "_id",
40 "UInt32"
41 ],
42 [
43 "_key",
44 "ShortText"
45 ],
46 [
47 "location",
48 "TokyoGeoPoint"
49 ]
50 ],
51 [
52 1,
53 "Special news!",
54 "0x0"
55 ],
56 [
57 2,
58 "Surprise news!",
59 "0x0"
60 ]
61 ]
62 ]
63 ]