Initial publish of dbt_f2dq (f2dq) package v0.12.1.
Clean package repo for Gitea installs via packages.yml git URL. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{% macro in_compile() %}
|
||||
|
||||
{%- call statement('in_compile', fetch_result=True) -%}
|
||||
select * from {{ ref('f2dq_run_started_at') }}
|
||||
{%- endcall -%}
|
||||
|
||||
{% if execute %}
|
||||
{%- set result = load_result('in_compile')['data'][0][0] -%}
|
||||
{% if result == run_started_at.timestamp() * 1000000 %}
|
||||
{{ return(False) }}
|
||||
{% else %}
|
||||
{{ return(True) }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% endmacro %}
|
||||
Reference in New Issue
Block a user