[Feature Request] Determine osmosis_progenitor
accurately at the same distance
#172
Labels
enhancement
New feature or request
Overview
When using the
--add-progenitor-to-meta
option, the resultingosmosis_progenitor:
values can sometimes be incorrect.Reproduction Steps
While I am currently investigating the exact scenarios that cause this issue, one example is provided below.
Consider the following set of models in a lineage graph (the letters
A
~C
next tofct_item_shops
denote the order of JOINs).You can view the actual code in the following repository:
https://github.com/yamamoto-yuta/dbt-osmosis-inheritance-check
In this case, the propagation sources for each column in
fct_item_shops
should be as follows:item_key
...raw_items
item_code
...raw_shop_items
shop_id
...raw_shop_items
However, the actual result is as follows, where the source of
item_code
is incorrectly identified asraw_items
instead ofraw_shop_items
.item_key
...raw_items
item_code
...raw_items
← Should beraw_shop_items
shop_id
...raw_shop_items
dbt-osmosis Execution Result
Execution Environment
The text was updated successfully, but these errors were encountered: