From cbe3bd1ef3895a51045e4b98ce081736799db9e7 Mon Sep 17 00:00:00 2001 From: Rafael Pinheiro Date: Tue, 14 Jan 2025 09:52:08 -0300 Subject: [PATCH] altera referencia --- queries/models/bilhetagem/staging/aux_passageiro_hora.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/queries/models/bilhetagem/staging/aux_passageiro_hora.sql b/queries/models/bilhetagem/staging/aux_passageiro_hora.sql index 300c29eb..bbd26db9 100644 --- a/queries/models/bilhetagem/staging/aux_passageiro_hora.sql +++ b/queries/models/bilhetagem/staging/aux_passageiro_hora.sql @@ -47,8 +47,7 @@ select "RioCard" as tipo_usuario, "RioCard" as meio_pagamento, st_geogpoint(longitude, latitude) as geo_point_transacao -{# from {{ ref("transacao_riocard") }} #} -from `rj-smtr.br_rj_riodejaneiro_bilhetagem.transacao_riocard` +from {{ ref("transacao_riocard") }} where (id_servico_jae not in ("140", "142") or id_servico_jae is null) and (id_operadora != "2" or id_operadora is null)