Repository navigation
v1.11.0
Padding around values no longer turns numbers into text.
New
CsvConfig.trimFieldstrims whitespace from both ends of an unquoted
field before anything reads it, so42is the number 42 rather than the
string42, andNULLmatches a configured null value. Headers are
trimmed too.
Notes
A quoted field is never trimmed, because the quotes already say where the value
begins and ends. skipInitialSpace stays the narrower option, dropping spaces
before a field starts, including before an opening quote.
A field of nothing but spaces trims to empty, so it reads exactly as a
genuinely empty field does. The suite asserts those two are the same rather
than leaving it to chance, and checks every case through the batch decoder and
the streaming one with the input split at every offset.