You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kubernetes version (if you are using kubernetes) (use kubectl version):
Environment:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:
What happened: get_uri() and get_sqlalchemy_engine() had not been implemented in PostgresHook.
When using PostgresHook('CONNECTION_NAME', schema='another_schema').get_sqlalchemy_engine() that will still use connection default schema setting through get_uri(), instead of schema that is assigned to PostgresHook().
What you expected to happen: get_uri() should follow schema in PostgresHook.
How to reproduce it: PostgresHook('CONNECTION_NAME', schema='another_schema'). get_uri()
Anything else we need to know:
The text was updated successfully, but these errors were encountered:
Apache Airflow version:
Kubernetes version (if you are using kubernetes) (use
kubectl version
):Environment:
uname -a
):What happened:
get_uri()
andget_sqlalchemy_engine()
had not been implemented in PostgresHook.When using
PostgresHook('CONNECTION_NAME', schema='another_schema').get_sqlalchemy_engine()
that will still use connection default schema setting throughget_uri()
, instead of schema that is assigned toPostgresHook()
.What you expected to happen:
get_uri()
should follow schema in PostgresHook.How to reproduce it:
PostgresHook('CONNECTION_NAME', schema='another_schema'). get_uri()
Anything else we need to know:
The text was updated successfully, but these errors were encountered: