From 4868f9b69d74c7874b16edbcf1fdc40b833a5332 Mon Sep 17 00:00:00 2001 From: airflow Date: Thu, 18 Sep 2025 15:39:08 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20clickhouse=5Fdag.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- clickhouse_dag.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/clickhouse_dag.py b/clickhouse_dag.py index c04ee0c..d495e73 100644 --- a/clickhouse_dag.py +++ b/clickhouse_dag.py @@ -11,10 +11,13 @@ with DAG( list_tables = SimpleHttpOperator( task_id="list_tables", - http_conn_id="clickhouse_http", # Connection в Airflow + http_conn_id="clickhouse_http", endpoint="/", method="POST", data={"query": "SHOW TABLES"}, headers={"Content-Type": "application/x-www-form-urlencoded"}, - log_response=True, # покажет результат в логах Airflow - ) + log_response=True, + retries=0, + retry_delay=0, + timeout=10, + ) \ No newline at end of file