Closed HenrikSpa closed 3 years ago
This has been fixed using this index:
CREATE UNIQUE INDEX w_qual_field_unit_unique_index_null ON w_qual_field / Index to stop duplicate values where unit is null / (obsid, date_time, parameter, COALESCE(unit, '
') );
When unit is NULL, an otherwise duplicate row can be imported. This happens for pH as unit for pH is NULL.