Created
May 24, 2018 09:27
-
-
Save atharvai/cba0a81e17ff7d7e1bd1ef0afbcbcea4 to your computer and use it in GitHub Desktop.
This fails :(
This file contains 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 test_zero_table(schema, table, print_table=True) %} | |
{%- call statement('test_result', fetch_result=True) -%} | |
-- data test | |
select 1 as id, 'Drew' as name | |
{%- endcall -%} | |
{%- set res = load_result('test_result')['table'] -%} | |
{% set _ = res.print_table() %} | |
select 'pass' as status limit 0 | |
{% endmacro %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment