From 0147037e6ffbecf47983ac5afd99da8afa54b185 Mon Sep 17 00:00:00 2001 From: xuhe Date: Mon, 20 Feb 2023 15:22:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=B0=E5=80=BC=E7=9B=91=E6=B5=8B=E5=92=8C?= =?UTF-8?q?=E6=B3=A2=E5=8A=A8=E5=8F=98=E5=8C=96=E4=BF=AE=E6=94=B9=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E8=BF=9E=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/jh/price/price_evaluation.py | 2 +- dags/jh/price/price_exception.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dags/jh/price/price_evaluation.py b/dags/jh/price/price_evaluation.py index 72912e9..6011509 100644 --- a/dags/jh/price/price_evaluation.py +++ b/dags/jh/price/price_evaluation.py @@ -8,7 +8,7 @@ from sqlalchemy import create_engine os.environ["NLS_LANG"] = "American_America.AL32UTF8" os.environ["ORACLE_HOME"] = "/home/airflow/instantclient_21_7" -engine = create_engine("postgresql+psycopg2://postgres:postgres@192.168.0.236:5432/postgres", echo=False) +engine = create_engine("postgresql+psycopg2://postgres:postgres@192.168.0.236:5432/warehouse", echo=False) important_cities =["北京","上海","广州","深圳","重庆","杭州","苏州","厦门","大连","呼和浩特"] city_order = pd.read_excel("/opt/airflow/dags/repo/dags/jh/para/估值模型测试城市模板.xlsx") diff --git a/dags/jh/price/price_exception.py b/dags/jh/price/price_exception.py index 354bd0c..dd55518 100644 --- a/dags/jh/price/price_exception.py +++ b/dags/jh/price/price_exception.py @@ -10,7 +10,7 @@ import requests from sqlalchemy import create_engine os.environ["ORACLE_HOME"] = "/home/airflow/instantclient_21_7" -engine = create_engine("postgresql+psycopg2://postgres:postgres@192.168.0.236:5432/postgres", echo=False) +engine = create_engine("postgresql+psycopg2://postgres:postgres@192.168.0.236:5432/warehouse", echo=False) def simple_calc(result_df): """ 新增是否有样本列