Skip to content

Commit bf05f0f

Browse files
committed
set bronze table return columns
1 parent 71d42df commit bf05f0f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

macros/livetable/near.yaml.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
- [_block_height, INTEGER, The start block height to get the transactions from]
9393
- [row_count, INTEGER, The number of rows to fetch]
9494
return_type:
95-
- "TABLE(tx_hash STRING, block_id NUMBER, block_timestamp TIMESTAMP_NTZ, nonce INT, signature STRING, tx_receiver STRING, tx_signer STRING, tx VARIANT, gas_used NUMBER, transaction_fee NUMBER, attached_gas NUMBER, tx_succeeded BOOLEAN, fact_transactions_id STRING, inserted_timestamp TIMESTAMP_NTZ, modified_timestamp TIMESTAMP_NTZ, data VARIANT, value OBJECT, partition_key NUMBER)"
95+
- "TABLE(value VARIANT, partition_key NUMBER(38,0)), metadata VARIANT, data VARIANT, file_name VARCHAR(16777216), _inserted_timestamp TIMESTAMP_LTZ(3)"
9696
options: |
9797
NOT NULL
9898
RETURNS NULL ON NULL INPUT

macros/livetable/near_live_table_abstractions.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ FROM {{raw_blocks}}
158158

159159
{% macro near_livetable_bronze_transactions(schema, blockchain, network) %}
160160
{%- set near_livetable_bronze_transactions = livequery_models.get_rendered_model('near_models', 'livetable_bronze_transactions', schema, blockchain, network) -%}
161-
{{ near_livetable_fact_transactions }}
161+
{{ near_livetable_bronze_transactions }}
162162
{% endmacro %}
163163

164164
{% macro near_livetable_fact_receipts(schema, blockchain, network) %}

0 commit comments

Comments
 (0)