Debian Codegraph @

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