dabla commented on PR #67045:
URL: https://github.com/apache/airflow/pull/67045#issuecomment-4638346086
> > Upsert rows is already supported in PostgresHook via insert_rows and
insert_args={“replace”: True}
>
> I will convert this to draft. This either needs to be reworked or closed.
>
> Sorry for overlooking that.
You could still implement this method in the PostgresHook as a shortcut
convenience method and delegate the call to the insert_rows method with
replace=True. And then just test the delegation, I still think this is a good
idea.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]