You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2023. It is now read-only.
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
Current Implementation
Right now the
HNY_devdbtable is created with a left join in_hny.sqlofMID_devDBtoHNY_lookup. However there are far more records inMID_devdbthanHNY_lookup, resulting in a table with many records with just data fromMID_devdband 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_devdbmore easily readable.Downstream effects
The two rows from the
HNY_devdbtable are added toFINAL_devdbwith another left join infinal.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