mirror of
https://github.com/FlipsideCrypto/axelar-models.git
synced 2026-02-06 15:56:48 +00:00
Update streamline__transactions_realtime.sql and package-lock.yml
This commit is contained in:
parent
bf767ec752
commit
242ef0f333
@ -1,7 +1,7 @@
|
||||
{{ config (
|
||||
materialized = "view",
|
||||
post_hook = if_data_call_function(
|
||||
func = "{{this.schema}}.udf_rest_api(object_construct('sql_source', '{{this.identifier}}', 'external_table', 'txs_v2', 'exploded_key', '[\"result\", \"txs\"]', 'sql_limit', {{var('sql_limit','100000')}}, 'producer_batch_size', {{var('producer_batch_size','100000')}}, 'worker_batch_size', {{var('worker_batch_size','5000')}}))",
|
||||
func = "{{this.schema}}.udf_rest_api(object_construct('sql_source', '{{this.identifier}}', 'external_table', 'txs_v2', 'exploded_key', '[\"result\", \"txs\"]', 'sql_limit', {{var('sql_limit','100000')}}, 'producer_batch_size', {{var('producer_batch_size','100000')}}, 'worker_batch_size', {{var('worker_batch_size','50000')}}))",
|
||||
target = "{{this.schema}}.{{this.identifier}}"
|
||||
)
|
||||
) }}
|
||||
@ -25,7 +25,7 @@ ORDER BY
|
||||
)
|
||||
SELECT
|
||||
block_number AS partition_key,
|
||||
{{ target.database }}.live.udf_api(
|
||||
live.udf_api(
|
||||
'POST',
|
||||
'{service}/{Authentication}',
|
||||
OBJECT_CONSTRUCT(
|
||||
@ -56,5 +56,3 @@ FROM
|
||||
blocks
|
||||
ORDER BY
|
||||
block_number
|
||||
LIMIT
|
||||
1000
|
||||
|
||||
@ -6,11 +6,11 @@ packages:
|
||||
- package: dbt-labs/dbt_utils
|
||||
version: 1.0.0
|
||||
- git: https://github.com/FlipsideCrypto/fsc-utils.git
|
||||
revision: 80485821ff14c1393b9a533cd06ca2ec6fdb04df
|
||||
revision: e670a0edf1c1bb2316212b368724dc9942b6220f
|
||||
- package: get-select/dbt_snowflake_query_tags
|
||||
version: 2.3.3
|
||||
- package: calogica/dbt_date
|
||||
version: 0.7.2
|
||||
- git: https://github.com/FlipsideCrypto/livequery-models.git
|
||||
revision: 883675b4021cc9a777e12fe6be8114ab039ab365
|
||||
sha1_hash: 5d9c83b7c67269adf2b1d2a1807fb8391b0367b9
|
||||
revision: de2ade547b8e87be0902605d42152ed97f53e05d
|
||||
sha1_hash: 23a3f5af6aea92b1391c89c7e8a7024fa822e65f
|
||||
|
||||
@ -6,6 +6,6 @@ packages:
|
||||
- package: dbt-labs/dbt_utils
|
||||
version: [">=1.0.0", "<1.1.0"]
|
||||
- git: https://github.com/FlipsideCrypto/fsc-utils.git
|
||||
revision: v1.21.3-dev
|
||||
revision: v1.21.6-dev
|
||||
- package: get-select/dbt_snowflake_query_tags
|
||||
version: [">=2.0.0", "<3.0.0"]
|
||||
Loading…
Reference in New Issue
Block a user