From 304d8ad4a8e58b41dc2d853e1f3f715a04163a4d Mon Sep 17 00:00:00 2001 From: vnbl Date: Sun, 20 Oct 2024 00:35:49 -0300 Subject: [PATCH] renamed data_loader according to convention --- ...orecast_12h.sql => extract_latest_forecast_12h.sql} | 0 etl-pipeline/pipelines/telegram_bot/metadata.yaml | 10 +++++----- etl-pipeline/pipelines/twitter_bot/metadata.yaml | 9 ++++----- 3 files changed, 9 insertions(+), 10 deletions(-) rename etl-pipeline/data_loaders/{get_latest_forecast_12h.sql => extract_latest_forecast_12h.sql} (100%) diff --git a/etl-pipeline/data_loaders/get_latest_forecast_12h.sql b/etl-pipeline/data_loaders/extract_latest_forecast_12h.sql similarity index 100% rename from etl-pipeline/data_loaders/get_latest_forecast_12h.sql rename to etl-pipeline/data_loaders/extract_latest_forecast_12h.sql diff --git a/etl-pipeline/pipelines/telegram_bot/metadata.yaml b/etl-pipeline/pipelines/telegram_bot/metadata.yaml index 70a923c..fb6f07f 100755 --- a/etl-pipeline/pipelines/telegram_bot/metadata.yaml +++ b/etl-pipeline/pipelines/telegram_bot/metadata.yaml @@ -7,9 +7,9 @@ blocks: dbt: {} disable_query_preprocessing: false export_write_policy: append - file_path: data_loaders/get_latest_forecast_12h.sql + file_path: data_loaders/extract_latest_forecast_12h.sql file_source: - path: data_loaders/get_latest_forecast_12h.sql + path: data_loaders/extract_latest_forecast_12h.sql limit: 1000 use_raw_sql: true downstream_blocks: @@ -18,13 +18,13 @@ blocks: executor_type: local_python has_callback: false language: sql - name: get_latest_forecast_12h + name: extract_latest_forecast_12h retry_config: null status: executed timeout: null type: data_loader upstream_blocks: [] - uuid: get_latest_forecast_12h + uuid: extract_latest_forecast_12h - all_upstream_blocks_executed: true color: null configuration: @@ -43,7 +43,7 @@ blocks: timeout: null type: transformer upstream_blocks: - - get_latest_forecast_12h + - extract_latest_forecast_12h uuid: calculate_regional_forecast - all_upstream_blocks_executed: false color: null diff --git a/etl-pipeline/pipelines/twitter_bot/metadata.yaml b/etl-pipeline/pipelines/twitter_bot/metadata.yaml index 5b5b945..75a5200 100755 --- a/etl-pipeline/pipelines/twitter_bot/metadata.yaml +++ b/etl-pipeline/pipelines/twitter_bot/metadata.yaml @@ -7,9 +7,8 @@ blocks: dbt: {} disable_query_preprocessing: false export_write_policy: append - file_path: data_loaders/get_latest_forecast_12h.sql file_source: - path: data_loaders/get_latest_forecast_12h.sql + path: data_loaders/extract_latest_forecast_12h.sql limit: 1000 use_raw_sql: true downstream_blocks: @@ -18,13 +17,13 @@ blocks: executor_type: local_python has_callback: false language: sql - name: get_latest_forecast_12h + name: extract_latest_forecast_12h retry_config: null status: executed timeout: null type: data_loader upstream_blocks: [] - uuid: get_latest_forecast_12h + uuid: extract_latest_forecast_12h - all_upstream_blocks_executed: true color: null configuration: @@ -43,7 +42,7 @@ blocks: timeout: null type: transformer upstream_blocks: - - get_latest_forecast_12h + - extract_latest_forecast_12h uuid: calculate_regional_forecast - all_upstream_blocks_executed: true color: null