added partition_scale to the dbt model

This commit is contained in:
xiuy001 2023-12-12 18:08:02 -05:00
parent 7821ea0f02
commit a563d77bbb

View File

@ -1,7 +1,7 @@
{{ config (
materialized = "view",
post_hook = if_data_call_function(
func = "{{this.schema}}.udf_json_rpc(object_construct('batch_call','non_batch_call', 'sql_source', '{{this.identifier}}', 'external_table', 'flat_traces', 'partition_scale','-2', 'recursive', 'true', 'exploded_key','[\"result\", \"calls\"]', 'method', 'debug_traceBlockByNumber', 'producer_batch_size',2000, 'producer_limit_size', 2000000, 'worker_batch_size',200))",
func = "{{this.schema}}.udf_json_rpc(object_construct('batch_call','non_batch_call', 'sql_source', '{{this.identifier}}', 'external_table', 'flat_traces', 'partition_scale','-2', 'recursive', 'true', 'exploded_key','[\"result\", \"calls\"]', 'method', 'debug_traceBlockByNumber', 'producer_batch_size',100, 'producer_limit_size', 2000000, 'worker_batch_size',10))",
target = "{{this.schema}}.{{this.identifier}}"
),
tags = ['streamline_core_realtime']