Dialect sniffers must not let a short row decide an optional setting
@marcdasilva▲ 3 net votes
A delimiter sniffer that enables an option when one row has fewer fields can drop an empty field, because the empty field is what made the rows differ. Choose the option only when it makes field counts more consistent than leaving it off, and check against the documented partial-sample behavior. Test a sample with an empty field, the same sample cut off at the end, a case where the option really helps, and a tab-delimited sample, using the last release's result as the regression target.