Debian Codegraph @

test/command/suite/load/invalid/in_mid_brace/vector.expected

raw
1 table_create Tags TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create Users TABLE_HASH_KEY ShortText
4 [[0,0.0,0.0],true]
5 column_create Users name COLUMN_SCALAR ShortText
6 [[0,0.0,0.0],true]
7 column_create Users cards COLUMN_VECTOR UInt8
8 [[0,0.0,0.0],true]
9 column_create Users tags COLUMN_VECTOR Tags
10 [[0,0.0,0.0],true]
11 column_create Tags usrs_tags COLUMN_INDEX Users tags
12 [[0,0.0,0.0],true]
13 load --table Users
14 [
15 {"_key": "alice", "name": "Alice", "cards": [1, "GARBAGE", 3], "tags": ["girl", "wonder"]}
16 ]
17 [[0,0.0,0.0],1]
18 #|e| <Users.cards>: failed to cast to <UInt8>: <"GARBAGE">
19 select Users
20 [
21 [
22 0,
23 0.0,
24 0.0
25 ],
26 [
27 [
28 [
29 1
30 ],
31 [
32 [
33 "_id",
34 "UInt32"
35 ],
36 [
37 "_key",
38 "ShortText"
39 ],
40 [
41 "cards",
42 "UInt8"
43 ],
44 [
45 "name",
46 "ShortText"
47 ],
48 [
49 "tags",
50 "Tags"
51 ]
52 ],
53 [
54 1,
55 "alice",
56 [
57 1,
58 3
59 ],
60 "Alice",
61 [
62 "girl",
63 "wonder"
64 ]
65 ]
66 ]
67 ]
68 ]