However, even if there's no need to modify the column's description, having the data_type listed in the yaml is convenient for understanding the type, and the type might also change. In this pull request, the data_type will be added or modified even if there are no undocumented_columns.
You can also use the --force-inheritance option, but if you manually wrote the column's description, they will be erased. In such cases, you can't use the --force-inheritance option, so I believe a modification like the one in this pull request is necessary.
Resolves https://github.com/z3z1ma/dbt-osmosis/issues/90 FYI @waligob
dbt-osmosis
adds or modifies thedata_type
whenundocumented_columns
exist.However, even if there's no need to modify the column's description, having the
data_type
listed in the yaml is convenient for understanding the type, and the type might also change. In this pull request, thedata_type
will be added or modified even if there are noundocumented_columns
.You can also use the
--force-inheritance
option, but if you manually wrote the column's description, they will be erased. In such cases, you can't use the--force-inheritance
option, so I believe a modification like the one in this pull request is necessary.