airflow+shell离线数仓 airflow+shell离线数仓调度 外部配置文件 编写airflow调度脚本 编写shell脚本 将历史数据重新分区 编写datax脚本 airflow脚本说明 airflow+shell离线数仓调度 外部配置文件 1.将数据库连接等放入配置文件中 config.py ROOT_DIR = /home/dag/airflow/dags config.sh BUSS_IP="10.10.1.1" BUSS_PORT="3306" BUSS_USER="user" BUSS_PWD="pwd" BUSS_DB="db" 编写airflow调度脚本 from datetime import datetime from ariflow im