Skip to content

Commit

Permalink
Deploying to gh-pages from @ 92f5125 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
pixuimpou committed Mar 4, 2024
1 parent 35215ee commit 3271065
Showing 1 changed file with 118 additions and 0 deletions.
118 changes: 118 additions & 0 deletions rj_smtr/constants.html
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,42 @@ <h1 class="title">Module <code>pipelines.rj_smtr.constants</code></h1>
&#34;primary_key&#34;: [&#34;id&#34;],
&#34;interval_minutes&#34;: 1440,
},
{
&#34;table_id&#34;: &#34;ordem_rateio&#34;,
&#34;partition_date_only&#34;: True,
&#34;extract_params&#34;: {
&#34;database&#34;: &#34;ressarcimento_db&#34;,
&#34;query&#34;: &#34;&#34;&#34;
SELECT
*
FROM
ordem_rateio
WHERE
data_inclusao BETWEEN &#39;{start}&#39;
AND &#39;{end}&#39;
&#34;&#34;&#34;,
},
&#34;primary_key&#34;: [&#34;id&#34;],
&#34;interval_minutes&#34;: 1440,
},
{
&#34;table_id&#34;: &#34;linha_sem_ressarcimento&#34;,
&#34;partition_date_only&#34;: True,
&#34;extract_params&#34;: {
&#34;database&#34;: &#34;ressarcimento_db&#34;,
&#34;query&#34;: &#34;&#34;&#34;
SELECT
*
FROM
linha_sem_ressarcimento
WHERE
dt_inclusao BETWEEN &#39;{start}&#39;
AND &#39;{end}&#39;
&#34;&#34;&#34;,
},
&#34;primary_key&#34;: [&#34;id_linha&#34;],
&#34;interval_minutes&#34;: 1440,
},
]

BILHETAGEM_SECRET_PATH = &#34;smtr_jae_access_data&#34;
Expand Down Expand Up @@ -1085,6 +1121,29 @@ <h1 class="title">Module <code>pipelines.rj_smtr.constants</code></h1>
&#34;interval_minutes&#34;: BILHETAGEM_TRATAMENTO_INTERVAL,
&#34;save_bucket_name&#34;: BILHETAGEM_PRIVATE_BUCKET,
},
{
&#34;table_id&#34;: &#34;servico_motorista&#34;,
&#34;partition_date_only&#34;: True,
&#34;extract_params&#34;: {
&#34;database&#34;: &#34;principal_db&#34;,
&#34;query&#34;: &#34;&#34;&#34;
SELECT
*
FROM
SERVICO_MOTORISTA
WHERE
DT_ABERTURA BETWEEN &#39;{start}&#39;
AND &#39;{end}&#39;
OR DT_FECHAMENTO BETWEEN &#39;{start}&#39;
AND &#39;{end}&#39;
&#34;&#34;&#34;,
},
&#34;primary_key&#34;: [
&#34;NR_LOGICO_MIDIA&#34;,
&#34;ID_SERVICO&#34;,
], # id column to nest data on
&#34;interval_minutes&#34;: BILHETAGEM_TRATAMENTO_INTERVAL,
},
]

BILHETAGEM_MATERIALIZACAO_INTEGRACAO_PARAMS = {
Expand Down Expand Up @@ -2273,6 +2332,42 @@ <h2 class="section-title" id="header-classes">Classes</h2>
&#34;primary_key&#34;: [&#34;id&#34;],
&#34;interval_minutes&#34;: 1440,
},
{
&#34;table_id&#34;: &#34;ordem_rateio&#34;,
&#34;partition_date_only&#34;: True,
&#34;extract_params&#34;: {
&#34;database&#34;: &#34;ressarcimento_db&#34;,
&#34;query&#34;: &#34;&#34;&#34;
SELECT
*
FROM
ordem_rateio
WHERE
data_inclusao BETWEEN &#39;{start}&#39;
AND &#39;{end}&#39;
&#34;&#34;&#34;,
},
&#34;primary_key&#34;: [&#34;id&#34;],
&#34;interval_minutes&#34;: 1440,
},
{
&#34;table_id&#34;: &#34;linha_sem_ressarcimento&#34;,
&#34;partition_date_only&#34;: True,
&#34;extract_params&#34;: {
&#34;database&#34;: &#34;ressarcimento_db&#34;,
&#34;query&#34;: &#34;&#34;&#34;
SELECT
*
FROM
linha_sem_ressarcimento
WHERE
dt_inclusao BETWEEN &#39;{start}&#39;
AND &#39;{end}&#39;
&#34;&#34;&#34;,
},
&#34;primary_key&#34;: [&#34;id_linha&#34;],
&#34;interval_minutes&#34;: 1440,
},
]

BILHETAGEM_SECRET_PATH = &#34;smtr_jae_access_data&#34;
Expand Down Expand Up @@ -2483,6 +2578,29 @@ <h2 class="section-title" id="header-classes">Classes</h2>
&#34;interval_minutes&#34;: BILHETAGEM_TRATAMENTO_INTERVAL,
&#34;save_bucket_name&#34;: BILHETAGEM_PRIVATE_BUCKET,
},
{
&#34;table_id&#34;: &#34;servico_motorista&#34;,
&#34;partition_date_only&#34;: True,
&#34;extract_params&#34;: {
&#34;database&#34;: &#34;principal_db&#34;,
&#34;query&#34;: &#34;&#34;&#34;
SELECT
*
FROM
SERVICO_MOTORISTA
WHERE
DT_ABERTURA BETWEEN &#39;{start}&#39;
AND &#39;{end}&#39;
OR DT_FECHAMENTO BETWEEN &#39;{start}&#39;
AND &#39;{end}&#39;
&#34;&#34;&#34;,
},
&#34;primary_key&#34;: [
&#34;NR_LOGICO_MIDIA&#34;,
&#34;ID_SERVICO&#34;,
], # id column to nest data on
&#34;interval_minutes&#34;: BILHETAGEM_TRATAMENTO_INTERVAL,
},
]

BILHETAGEM_MATERIALIZACAO_INTEGRACAO_PARAMS = {
Expand Down

0 comments on commit 3271065

Please sign in to comment.