dbt_fivetran_utils icon indicating copy to clipboard operation
dbt_fivetran_utils copied to clipboard

[FEATURE] - Add `persist_pass_through_columns` -capability for non-mapping passthrough variables

Open fivetran-catfritz opened this issue 2 years ago • 0 comments

Currently when a non-mapped passthrough/list-style variable is passed to persist_pass_through_columns macro, no error occurs but blank fields are generated. This macro should be updated to handle either list- or dict- style variables. The logic used in fill_pass_through_columns is an example of how this could be done.

This will allow this macro to be brought into older packages, that might not yet use this macro and therefore are expecting list-style, with less friction on the user's end as they will not have to change their variables.

fivetran-catfritz avatar Mar 20 '23 15:03 fivetran-catfritz