We are using a CSV to map one field to two more:
status,status_title,status_type,status_ok
-,Network connection successful,Network success,Success
D,DNS lookup failure,Network failure,Failure
etc, with a lookup:
lookup network_status_codes status AS receiver_network_status OUTPUTNEW
status_title AS network_status_title,
status_type AS network_status_type,
status_ok AS network_status_ok
How can I handle falling back to defaults for all three columns? The default_match field appears to only let me provide one fallback; I don't think I can use:
[network_status_codes]
filename = network_status_codes.csv
min_matches = 1
default_match = Unknown network error,Network failure,Failure
here.
Should I use a wildcard match instead? E.g. add a row:
*,Unknown network error,Network failure,Failure
then set the match type:
match_type = WILDCARD(status)
to make this work?
... View more