Обновить dags/split_subkonto2.py

This commit is contained in:
bn_user 2025-09-09 06:23:41 +00:00
parent 5f7059819c
commit 40daeb490b
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ def merge_dict_and_split_1C(**kwargs):
engine = get_db_engine()
with engine.begin() as conn:
conn.exucute('CREATE TEMP TABLE temp_dict_subkonto_two as (subkonto2 text null, naimenovanie text null, nomer text null, date_begin text null, date_end text null)')
conn.execute('CREATE TEMP TABLE temp_dict_subkonto_two as (subkonto2 text null, naimenovanie text null, nomer text null, date_begin text null, date_end text null)')
result_df.to_sql('temp_dict_subkonto_two', con=conn, if_exists='append', index=False, method='multi')
conn.execute('INSERT INTO public.dict_subkonto_two SELECT * FROM temp_dict_subkonto_two')