Skip to content

Commit

Permalink
Merge pull request #40 from EcoDataFlow/feature/generation
Browse files Browse the repository at this point in the history
Feature/generation
  • Loading branch information
lsh0107 authored Jan 12, 2024
2 parents 8f4413e + 12a4ff2 commit 45cf7bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dags/energy/generation/solar_energy_generation_et.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def csv_transform_datetime(**kwargs):

trigger_target_dag_task = TriggerDagRunOperator(
task_id="trigger_target_dag",
trigger_dag_id="api_gcs_to_bigquery", # 트리거하려는 대상 DAG의 ID
trigger_dag_id="solar_energy_generation_l", # 트리거하려는 대상 DAG의 ID
dag=dag,
)

Expand Down
3 changes: 2 additions & 1 deletion dags/energy/generation/solar_energy_generation_l.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from airflow.operators.python_operator import PythonOperator
from airflow.operators.dagrun_operator import TriggerDagRunOperator


BUCKET_NAME = "data-lake-storage"


Expand Down Expand Up @@ -89,7 +90,7 @@ def to_bigquery(**kwargs):

trigger_target_dag_task = TriggerDagRunOperator(
task_id="trigger_target_dag",
trigger_dag_id="bigquery_elt_dag", # 트리거하려는 대상 DAG의 ID
trigger_dag_id="solar_energy_generation_elt", # 트리거하려는 대상 DAG의 ID
dag=dag,
)

Expand Down

0 comments on commit 45cf7bb

Please sign in to comment.