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

   Thanks @vaefremov95 for the detailed clarification. That makes sense, 
particularly the need to avoid holding an `ACCESS EXCLUSIVE` lock during a 
long-running COPY operation.
   
   I agree that a staging-first approach is preferable here. Separating bulk 
ingestion from the final transactional merge provides a good balance between 
throughput, reader availability, and failure recovery.
   
   For a reusable Airflow operator, I would suggest making the staging and 
finalization strategy explicit, with attention to retry safety, idempotency, 
cleanup after partial failures, and concurrent executions.
   
   I'd be happy to help develop a focused design and implementation with 
PostgreSQL integration tests and reproducible performance benchmarks once the 
maintainers confirm the preferred direction and provider placement.
   
   Thanks again for sharing the production rationale!


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