From 2d30fd3ac71e56df6eea5c364a73e69fc20ba402 Mon Sep 17 00:00:00 2001 From: bn_user Date: Tue, 9 Sep 2025 10:39:16 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20dags/split=5Fsubkonto2.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/split_subkonto2.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dags/split_subkonto2.py b/dags/split_subkonto2.py index 6837aa9..9d61f60 100644 --- a/dags/split_subkonto2.py +++ b/dags/split_subkonto2.py @@ -247,7 +247,6 @@ def read_dict_subkonto2_db(**kwargs): df = pd.read_sql(""" select osv.subkonto2 as subkonto2 - , dst.naimenovanie as naimenovanie , osv.nomer as nomer , osv.date_begin as date_begin , osv.date_end as date_end @@ -301,7 +300,7 @@ def merge_dict_and_split_1C(**kwargs): result_df['date_end'] = result_df['date_end_dict'] - result_df = result_df[['subkonto2', 'naimenovanie', 'nomer', 'date_begin', 'date_end']] + result_df = result_df[['subkonto2', 'nomer', 'date_begin', 'date_end']] engine = get_db_engine() with engine.begin() as conn: @@ -312,7 +311,6 @@ def merge_dict_and_split_1C(**kwargs): INSERT INTO public.dict_subkonto_two (subkonto2, naimenovanie, nomer, date_begin, date_end) SELECT subkonto2 - , naimenovanie , nomer , date_begin , date_end