add chunk / shard to txs rt

This commit is contained in:
Jack Forgash 2025-02-19 16:31:13 -07:00
parent 41a18602b1
commit ddef538ce6

View File

@ -82,10 +82,12 @@ tbl AS (
AND signer_id IS NOT NULL
)
SELECT
shard_id,
chunk_hash,
block_id,
block_timestamp_epoch,
FLOOR(block_id, -3) AS partition_key,
tx_hash,
FLOOR(block_id, -3) AS partition_key,
DATE_PART('EPOCH', SYSDATE()) :: INTEGER AS request_timestamp,
{{ target.database }}.live.udf_api(
'POST',