Closed MaximMoinat closed 3 years ago
If one or more domain tables contains an empty _source_value column, the query exits with 'ERROR: division by zero'.
_source_value
This is due to the COUNT(distinct source_value) returning 0.
COUNT(distinct source_value)
Although it is against OMOP conventions to have no source_value, we should catch this.
If one or more domain tables contains an empty
_source_value
column, the query exits with 'ERROR: division by zero'.This is due to the
COUNT(distinct source_value)
returning 0.Although it is against OMOP conventions to have no source_value, we should catch this.