Debian Codegraph @

test/command/suite/load/reference/missing_ignore/have_key/default.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_IGNORE Tags
6 [[0,0.0,0.0],true]
7 load --table Data
8 [
9 {"tag": "nonexistent"}
10 ]
11 [[[-22,0.0,0.0],"<Data.tag>: failed to cast to <Tags>: <\"nonexistent\">"],1]
12 #|e| <Data.tag>: failed to cast to <Tags>: <"nonexistent">
13 #|e| [table][load][Data][tag] failed to set column value: <Data.tag>: failed to cast to <Tags>: <"nonexistent">: id: <1>: value: <"nonexistent">
14 dump
15 table_create Data TABLE_NO_KEY
16
17 table_create Tags TABLE_HASH_KEY ShortText
18
19 column_create Data tag COLUMN_SCALAR|MISSING_IGNORE Tags
20
21 load --table Data
22 [
23 ["_id","tag"],
24 [1,""]
25 ]