新增价格异常检测脚本
This commit is contained in:
@@ -8,10 +8,10 @@ with DAG(
|
||||
schedule_interval="0 10 23 * *",
|
||||
start_date=pendulum.datetime(2022, 8, 23, tz="Asia/Shanghai"),
|
||||
catchup=True,
|
||||
description="建行每月价格异常检测脚本,默认检测本月与上月差异"
|
||||
description="建行每月价格异常检测脚本,默认检测本月与上月差异, 若输出样本存在与否,设置type=simple"
|
||||
) as dag:
|
||||
t1 = BashOperator(
|
||||
task_id='price_exception',
|
||||
bash_command='python /opt/airflow/dags/repo/dags/jh/price/price_exception.py {{dag_run.conf["month"] if "month" in dag_run.conf}}',
|
||||
bash_command='python /opt/airflow/dags/repo/dags/jh/price/price_exception.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
|
||||
)
|
||||
t1
|
||||
|
||||
Reference in New Issue
Block a user