mirror of
https://github.com/FlipsideCrypto/osmosis-models.git
synced 2026-02-06 11:47:03 +00:00
Merge branch 'main' into An-4550_stats
This commit is contained in:
commit
1e498bc701
@ -42,4 +42,4 @@ jobs:
|
|||||||
dbt deps
|
dbt deps
|
||||||
- name: Run DBT Jobs
|
- name: Run DBT Jobs
|
||||||
run: |
|
run: |
|
||||||
dbt run --vars '{"STREAMLINE_INVOKE_STREAMS":True}' -m 1+models/streamline/core/realtime/streamline__transactions_realtime.sql 1+models/streamline/core/realtime/streamline__tx_search_realtime.sql
|
dbt run --vars '{"STREAMLINE_INVOKE_STREAMS":True}' -m 1+models/streamline/core/realtime/streamline__transactions_realtime.sql
|
||||||
@ -1,7 +1,7 @@
|
|||||||
{{ config (
|
{{ config (
|
||||||
materialized = "view",
|
materialized = "view",
|
||||||
post_hook = if_data_call_function(
|
post_hook = if_data_call_function(
|
||||||
func = "{{this.schema}}.udf_bulk_json_rpc(object_construct('sql_source', '{{this.identifier}}', 'external_table', 'tx_search', 'sql_limit', {{var('sql_limit','20000')}}, 'producer_batch_size', {{var('producer_batch_size','3000')}}, 'worker_batch_size', {{var('worker_batch_size','50')}}, 'batch_call_limit', {{var('batch_call_limit','10')}}, 'exploded_key', '[\"result\", \"txs\"]', 'call_type', 'non_batch'))",
|
func = "{{this.schema}}.udf_bulk_json_rpc(object_construct('sql_source', '{{this.identifier}}', 'external_table', 'tx_search', 'sql_limit', {{var('sql_limit','20000')}}, 'producer_batch_size', {{var('producer_batch_size','200')}}, 'worker_batch_size', {{var('worker_batch_size','10')}}, 'batch_call_limit', {{var('batch_call_limit','10')}}, 'exploded_key', '[\"result\", \"txs\"]', 'call_type', 'non_batch'))",
|
||||||
target = "{{this.schema}}.{{this.identifier}}"
|
target = "{{this.schema}}.{{this.identifier}}"
|
||||||
)
|
)
|
||||||
) }}
|
) }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user