Debian Codegraph @

test/command/suite/load/invalid/in_mid_bracket/scalar.expected

raw
1 table_create Tags TABLE_HASH_KEY ShortText --default_tokenizer TokenDelimit
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 birthday COLUMN_SCALAR Time
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", "name", "birthday", "tags"],
16 ["alice", "Alice", "2012-02-29 GARBAGE", "girl wonder"]
17 ]
18 [
19 [
20 [
21 -22,
22 0.0,
23 0.0
24 ],
25 "<Users.birthday>: failed to cast to <Time>: <\"2012-02-29 GARBAGE\">"
26 ],
27 1
28 ]
29 #|e| <Users.birthday>: failed to cast to <Time>: <"2012-02-29 GARBAGE">
30 #|e| [table][load][Users][birthday] failed to set column value: <Users.birthday>: failed to cast to <Time>: <"2012-02-29 GARBAGE">: key: <"alice">, value: <"2012-02-29 GARBAGE">
31 select Users
32 [
33 [
34 0,
35 0.0,
36 0.0
37 ],
38 [
39 [
40 [
41 1
42 ],
43 [
44 [
45 "_id",
46 "UInt32"
47 ],
48 [
49 "_key",
50 "ShortText"
51 ],
52 [
53 "birthday",
54 "Time"
55 ],
56 [
57 "name",
58 "ShortText"
59 ],
60 [
61 "tags",
62 "Tags"
63 ]
64 ],
65 [
66 1,
67 "alice",
68 0.0,
69 "Alice",
70 [
71 "girl",
72 "wonder"
73 ]
74 ]
75 ]
76 ]
77 ]