Debian Codegraph @

test/command/suite/load/reference/missing_nil/have_key/invalid_warn.expected

raw
1 table_create Tags TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create Data TABLE_NO_KEY
4 [[0,0.0,0.0],true]
5 column_create Data tag COLUMN_SCALAR|MISSING_NIL|INVALID_WARN Tags
6 [[0,0.0,0.0],true]
7 load --table Data
8 [
9 {"tag": "nonexistent"}
10 ]
11 [[0,0.0,0.0],1]
12 #|w| <Data.tag>: failed to cast to <Tags>: <"nonexistent">
13 dump
14 table_create Data TABLE_NO_KEY
15
16 table_create Tags TABLE_HASH_KEY ShortText
17
18 column_create Data tag COLUMN_SCALAR|MISSING_NIL|INVALID_WARN Tags
19
20 load --table Data
21 [
22 ["_id","tag"],
23 [1,""]
24 ]