From 8db351cc3ec4a455d99bc89eedc8b54da4883547 Mon Sep 17 00:00:00 2001 From: folhesgabriel Date: Wed, 20 Sep 2023 16:20:10 -0300 Subject: [PATCH] =?UTF-8?q?Corrige=20nome=20da=20vari=C3=A1vel=20de=20data?= =?UTF-8?q?=20na=20tabela=20dia?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../br_cvm_oferta_publica_distribuicao__dia.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/br_cvm_oferta_publica_distribuicao/br_cvm_oferta_publica_distribuicao__dia.sql b/models/br_cvm_oferta_publica_distribuicao/br_cvm_oferta_publica_distribuicao__dia.sql index 4e85dc12..af956724 100644 --- a/models/br_cvm_oferta_publica_distribuicao/br_cvm_oferta_publica_distribuicao__dia.sql +++ b/models/br_cvm_oferta_publica_distribuicao/br_cvm_oferta_publica_distribuicao__dia.sql @@ -71,6 +71,6 @@ FROM tabela -- this filter will only be applied on an incremental run -- (uses > to include records whose timestamp occurred since the last run of this model) - where data_registro > (select max(data_registro) from {{ this }}) + where data_abertura_processo > (select max(data_abertura_processo) from {{ this }}) {% endif %} \ No newline at end of file