Skip to content

Duplicates in view shipping.metadata_for_augur_build_v3 #47

Description

@kairstenfay

The count of rows in metadata_for_augur_build_v3 is greater than the count of select count(*) from warehouse.sample where identifier is not null. As of now, they're and 34557 and 34468, respectively.

The numbers are the same if you do

select count(distinct(strain)) from shipping.metadata_for_augur_build_v3

There should probably not be duplicates for this view. The following join likely introduces duplicates:

left join shipping.incidence_model_observation_v2 on sample.identifier = incidence_model_observation_v2.sample

(See original Slack conversation for context)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions