potiuk commented on issue #27474:
URL: https://github.com/apache/airflow/issues/27474#issuecomment-1303518363

   You still have not explained how did you define your connection - What is 
the connection type you have in your connection?
   You might have be completely mislead -  `PostgressHook.get_hook()` is NOT a 
PostgresHook method - it is the "BaseHook" static method - and it will only 
return PostgresHook if you pass it the connection, that it will recognise as 
Postgres - this is likely the reason - likely "PostgresHook.get_hook()" will 
actually return non-PostgresHook but something else.
   
   Can you please explain how your connection_id is defined and what type it 
has ? And what is the hook returned by `get_hook` method? 


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