Skip to content

Commit

Permalink
Merge pull request #396 from the4thamigo-uk/protect-against-empty-col…
Browse files Browse the repository at this point in the history
…umns

Protect against no columns returned in materialized-view (#395)
  • Loading branch information
BentsiLeviav authored Dec 17, 2024
2 parents 806fe34 + 89e865e commit 173d9f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
{% endset %}

{% set tables_result = run_query(tables_query) %}
{% if tables_result is not none %}
{% if tables_result is not none and tables_result.columns %}
{% set tables = tables_result.columns[0].values() %}
{{ log('Current mvs found in ClickHouse are: ' + tables | join(', ')) }}
{% set mv_names = [] %}
Expand Down

0 comments on commit 173d9f2

Please sign in to comment.