LukeHong opened a new issue #16520:
URL: https://github.com/apache/airflow/issues/16520


   **Apache Airflow version**:
   
   
   **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**:
   
   


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