Skip to content
This repository was archived by the owner on Jun 30, 2023. It is now read-only.
This repository was archived by the owner on Jun 30, 2023. It is now read-only.

Only keep matched records in HNY devdb table  #598

@SashaWeinstein

Description

@SashaWeinstein

Current Implementation

Right now the HNY_devdb table is created with a left join in _hny.sql of MID_devDB to HNY_lookup. However there are far more records in MID_devdb than HNY_lookup, resulting in a table with many records with just data from MID_devdb and NULL for the rest of the fields.

Enhancement

I think it would be cleaner to have an inner join here instead, as it would make the HNY_devdb more easily readable.

Downstream effects

The two rows from the HNY_devdb table are added to FINAL_devdb with another left join in final.sql. The left join should populate these rows with nulls in situations where there is no matching HNY record, which is the same as the existing functionality

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions