mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 15:36:43 +00:00
* blocks completeness * block tx count external api model * txs completeness model * add col alias * test result agg cte and temp test range * curr range test * revert source change - other pr * xchain silver * nuke api key & move to secrets, create workflow * add scheduled tag * update workflow w cache * add obs tag * rem testing range from txs complete * comment out schedule and del double comman * add default null for key var
24 lines
373 B
SQL
24 lines
373 B
SQL
{{ config (
|
|
materialized = 'view',
|
|
tags = ['scheduled']
|
|
) }}
|
|
|
|
SELECT
|
|
record_id,
|
|
offset_id,
|
|
block_id,
|
|
block_timestamp,
|
|
network,
|
|
chain_id,
|
|
tx_count,
|
|
header,
|
|
ingested_at AS _ingested_at,
|
|
_inserted_timestamp
|
|
FROM
|
|
{{ source(
|
|
'prod',
|
|
'flow_blocks'
|
|
) }}
|
|
WHERE
|
|
_inserted_timestamp :: DATE >= '2022-05-01'
|