Skip to content

Commit a01c958

Browse files
authored
Ele 5146 render jinja template for table_filter in dump_table (#879)
* ignore clickhouse data * dump_table - render jinja templates in the table filter
1 parent 1b034ca commit a01c958

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ scripts/
99

1010
edr.log
1111
integration_tests/data
12+
integration_tests/clickhouse-data
1213
edr_target
1314

1415
venv/

macros/commands/dump_table.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
{% endif %}
3939
{% if table_filter %}
4040
{% if timestamp_column %}
41-
and {{ table_filter }}
41+
and {{ render(table_filter) }}
4242
{% else %}
43-
where {{ table_filter }}
43+
where {{ render(table_filter) }}
4444
{% endif %}
4545
{% endif %}
4646
{% endset %}

0 commit comments

Comments
 (0)