pkiraly/metadata-qa-api

Handling empty values in JSON records

Opened this issue · 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?