You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Null values are written as "" and read back as empty string "" , which is the missingValueIndicator for the StringParser.
This kind of asymmetry where both null and "" are written as "" destroys the semantical difference between an empty value or a non existent value.
Semantically, empty string is not a missing value per se. Empty string has to be distinguished from null.
The missingValueIndicator in StringParser is always "", so i don't see a way around this without just doing this handling myself by using "" or something in my own converters.
Am I missing something?
The text was updated successfully, but these errors were encountered:
If your use case requires to distinguish between empty strings and null strings, you have to manage this on your side by using a marker string for null values and workaround it.
Watch out as some common null marker strings are treated as empty values so you would run into the same issue. See #1244 for more information.
Consider the java test below.
Null values are written as "" and read back as empty string "" , which is the missingValueIndicator for the StringParser.
This kind of asymmetry where both null and "" are written as "" destroys the semantical difference between an empty value or a non existent value.
Semantically, empty string is not a missing value per se. Empty string has to be distinguished from null.
The missingValueIndicator in StringParser is always "", so i don't see a way around this without just doing this handling myself by using "" or something in my own converters.
Am I missing something?
The text was updated successfully, but these errors were encountered: