This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% macro scd_type_2( | |
target_model, | |
source_model, | |
primary_key, | |
order_by, | |
load_datetime, | |
columns, | |
is_deleted='' | |
) %} | |
{# Dynamically creates the sql code to select all the columns #} |