polygon-models/models/gold/core__fact_blocks.sql
Austin dc4fb4acc1
Initial/setup (#1)
* stash

* clean up mistakes

* clean up docs

* dbt docs
2022-06-07 19:13:08 -04:00

27 lines
426 B
SQL

{{ config(
materialized = 'view',
persist_docs ={ "relation": true,
"columns": true }
) }}
SELECT
block_number,
block_timestamp,
network,
blockchain,
tx_count,
difficulty,
total_difficulty,
extra_data,
gas_limit,
gas_used,
HASH,
parent_hash,
receipts_root,
sha3_uncles,
SIZE,
uncle_blocks,
block_header_json
FROM
{{ ref('silver__blocks') }}