adiranjan25 commented on issue #77606:
URL: https://github.com/apache/airflow/issues/77606#issuecomment-7181328820

   Thanks @vaefremov95 for proposing this. I would be interested in helping 
design and implement a PostgreSQL-to-PostgreSQL streaming COPY transfer 
operator.
   
   From an enterprise data engineering perspective, I see value in a 
bounded-memory transfer path for large datasets, particularly when avoiding 
intermediate files and row-by-row Python materialization.
   
   One area I would prioritize is transaction safety. The illustrative 
implementation truncates the destination in a separate transaction, which could 
leave the target empty if the subsequent COPY fails. I would propose evaluating 
a transaction-safe load/replace strategy alongside streaming, retry handling, 
identifier quoting and integration tests.
   
   I'm happy to contribute an initial implementation with PostgreSQL 
integration tests and reproducible memory/performance benchmarks.
   
   Would the maintainers prefer this as a dedicated PostgreSQL provider 
operator or as an extension to `GenericTransfer` in common-sql? If there is 
interest, I can prepare a focused design and PR based on the preferred 
direction.


-- 
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]

Reply via email to