Обновить dags/OSV.py
This commit is contained in:
parent
e471647916
commit
ad448bebd2
|
|
@ -133,7 +133,7 @@ def read_data_1C(**kwargs):
|
|||
index=False,
|
||||
method='multi'
|
||||
)
|
||||
conn.execute(f"DELETE FROM public.{table_name} where get_date in (select distinct get_date from temp_{table_name})")
|
||||
conn.execute(f"DELETE FROM public.{table_name} where get_date = CURRENT_DATE::date::timestamp")
|
||||
conn.execute(f"""
|
||||
INSERT INTO public.{table_name}
|
||||
SELECT
|
||||
|
|
|
|||
Loading…
Reference in New Issue