metadata-qa-api icon indicating copy to clipboard operation
metadata-qa-api copied to clipboard

Handling empty values in JSON records

Open mielvds opened this issue 5 years ago • 0 comments

When a field is present, but the value is an empty string, should it be counted as present or absent during completeness measurement? In CSV, there is not really a distinction, so the problem does not occur.

ATM, empty fields are counted as present, but since arguments could be made for both, maybe add an countEmptyFields() to Schema, where this is always true for CSV?

mielvds avatar Sep 08 '20 09:09 mielvds