ekarsten commented on pull request #16341:
URL: https://github.com/apache/airflow/pull/16341#issuecomment-857383697


   First, thanks for the tip on specifying this information in the connections 
tab of the UI. I will say that in my testing, I find that these changes lead to 
different results. Specifically, I have a long-running query that fails with 
`psycopg2.operationalerror: SSL SYSCALL error: EOF detected` when I run it 
using the `PostgresOperator` but when I make the changes outlined in this PR, 
the query runs without the error. I can't quite trace through how the extra 
parameters are getting passed through all the classes, but I think they are. Do 
you have a guess as to why this might be the case. I was trying to figure out 
if it was something in the [DbApiHook 
class](https://github.com/apache/airflow/blob/2aed14675e87ddc46b329b96c8d6b061ef66ec52/airflow/hooks/dbapi.py#L45),
 but I couldn't figure out what there is leading to this different behavior. 


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to