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): """ 新增是否有样本列