Skip to content

Commit 81423b5

Browse files
committed
rename to table_filter
1 parent 48a91e7 commit 81423b5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

macros/commands/dump_table.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% macro dump_table(model_unique_id, output_path, exclude_deprecated_columns=true, timestamp_column=none, since=none, days_back=7, dedup=false, until=none, filter=none) %}
1+
{% macro dump_table(model_unique_id, output_path, exclude_deprecated_columns=true, timestamp_column=none, since=none, days_back=7, dedup=false, until=none, table_filter=none) %}
22
{% set node = graph.nodes.get(model_unique_id) %}
33
{% if not node %}
44
{% do print("Node '{}' does not exist.".format(model_unique_id)) %}
@@ -35,11 +35,11 @@
3535
where {{ elementary.edr_datediff(elementary.edr_cast_as_timestamp(timestamp_column), elementary.edr_current_timestamp(), 'day') }} < {{ days_back }}
3636
{% endif %}
3737
{% endif %}
38-
{% if filter %}
38+
{% if table_filter %}
3939
{% if timestamp_column %}
40-
and {{ filter }}
40+
and {{ table_filter }}
4141
{% else %}
42-
where {{ filter }}
42+
where {{ table_filter }}
4343
{% endif %}
4444
{% endif %}
4545
{% endset %}

0 commit comments

Comments
 (0)