Skip to content

Commit

Permalink
Merge pull request #812 from basedosdados/fix_br_me_cnpj
Browse files Browse the repository at this point in the history
[BugFix] br_me_cnpj
  • Loading branch information
folhesgabriel authored Nov 11, 2024
2 parents 0ba1f29 + a502af1 commit 38c9b4e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion models/br_me_cnpj/br_me_cnpj__empresas.sql
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ with
)
select *
from cnpj_empresas
{% if is_incremental() %} where data > (select max(data) from {{ this }}) {% endif %}
{% if is_incremental() %} where data > '2024-09-01' {% endif %}
2 changes: 1 addition & 1 deletion models/br_me_cnpj/br_me_cnpj__estabelecimentos.sql
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ with
)
select *
from cnpj_estabelecimentos
{% if is_incremental() %} where data > (select max(data) from {{ this }}) {% endif %}
{% if is_incremental() %} where data > '2024-09-01' {% endif %}
2 changes: 1 addition & 1 deletion models/br_me_cnpj/br_me_cnpj__socios.sql
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ with
)
select *
from cnpj_socios
{% if is_incremental() %} where data > (select max(data) from {{ this }}) {% endif %}
{% if is_incremental() %} where data > '2024-09-01' {% endif %}

0 comments on commit 38c9b4e

Please sign in to comment.