From 15a96320f7895d6f83f83a3fd14b20acdfd12031 Mon Sep 17 00:00:00 2001 From: Amisha Singla Date: Wed, 15 Jan 2025 21:08:05 +0530 Subject: [PATCH] Export additional retool fields (#561) * Add new fields * Remove addresses field * update image --- airflow_variables_dev.json | 2 +- airflow_variables_prod.json | 2 +- schemas/retool_entity_data_schema.json | 33 +++++++++++++++++++++++--- 3 files changed, 32 insertions(+), 5 deletions(-) diff --git a/airflow_variables_dev.json b/airflow_variables_dev.json index 888caf36..916480f8 100644 --- a/airflow_variables_dev.json +++ b/airflow_variables_dev.json @@ -315,7 +315,7 @@ "schema_filepath": "/home/airflow/gcs/dags/schemas/", "sentry_dsn": "https://9e0a056541c3445083329b072f2df690@o14203.ingest.us.sentry.io/6190849", "sentry_environment": "development", - "stellar_etl_internal_image_name": "amishastellar/stellar-etl-internal:4732dec7e", + "stellar_etl_internal_image_name": "stellar/stellar-etl-internal:0142623ec", "table_ids": { "accounts": "accounts", "assets": "history_assets", diff --git a/airflow_variables_prod.json b/airflow_variables_prod.json index 84359efb..ec758b73 100644 --- a/airflow_variables_prod.json +++ b/airflow_variables_prod.json @@ -313,7 +313,7 @@ "schema_filepath": "/home/airflow/gcs/dags/schemas/", "sentry_dsn": "https://94027cdcc4c9470f9dafa2c0b456c2c9@o14203.ingest.us.sentry.io/5806618", "sentry_environment": "production", - "stellar_etl_internal_image_name": "amishastellar/stellar-etl-internal:4732dec7e", + "stellar_etl_internal_image_name": "stellar/stellar-etl-internal:0142623ec", "table_ids": { "accounts": "accounts", "assets": "history_assets", diff --git a/schemas/retool_entity_data_schema.json b/schemas/retool_entity_data_schema.json index c9ce44d1..b7eb9572 100644 --- a/schemas/retool_entity_data_schema.json +++ b/schemas/retool_entity_data_schema.json @@ -163,8 +163,35 @@ { "description": "", "fields": [], - "mode": "REPEATED", - "name": "addresses", - "type": "STRING" + "mode": "", + "name": "anchor", + "type": "BOOLEAN" + }, + { + "description": "", + "fields": [], + "mode": "", + "name": "issuer", + "type": "BOOLEAN" + }, + { + "description": "", + "fields": [], + "mode": "", + "name": "wallet", + "type": "BOOLEAN" + }, + { + "description": "", + "fields": [], + "mode": "", + "name": "exchange", + "type": "BOOLEAN" + }, + { + "description": "", + "mode": "NULLABLE", + "name": "accounts", + "type": "JSON" } ]