Skip to content

Commit 38839fd

Browse files
datadersjoellabesTimoKruthfivetran-joemarkiewicz
authored
use limit_zero macro instead of limit 0 (#437)
* Utils 0.7.4b1 (#433) * Update require-dbt-version to be 1.0 * Fix SQL 42000 on Exasol (#420) " SQL-Error [42000]: syntax error, unexpected '*' " If you specify the * in the unioned with their respectiv names <name>.* you do not receive the SQL Error posted above. This should not inflict any further problems since it is redundant for most DBs. * Minor readme link fixes (#431) * minor readme link fixes * changelog addition Co-authored-by: Joel Labes <joel.labes@dbtlabs.com> * 0.7.4 changelog (#432) * Update CHANGELOG.md * Note branch name change Co-authored-by: Timo Kruth <timo_kruth@gmx.de> Co-authored-by: Joe Markiewicz <74217849+fivetran-joemarkiewicz@users.noreply.github.com> * standard convention * Update integration_tests/tests/jinja_helpers/test_slugify.sql Taking the liberty of committing on your behalf so that the CI job starts again * Change limit_zero to be a macro Co-authored-by: Joel Labes <joel.labes@dbtlabs.com> Co-authored-by: Timo Kruth <timo_kruth@gmx.de> Co-authored-by: Joe Markiewicz <74217849+fivetran-joemarkiewicz@users.noreply.github.com>
1 parent cdb47a9 commit 38839fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration_tests/tests/jinja_helpers/test_slugify.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% if dbt_utils.slugify('!Hell0 world-hi') == 'hell0_world_hi' %}
22
{# Return 0 rows for the test to pass #}
3-
select 1 limit 0
3+
select 1 as col_name {{ limit_zero() }}
44
{% else %}
55
{# Return >0 rows for the test to fail #}
66
select 1

0 commit comments

Comments
 (0)