Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix BQ connection parsing with dataset info (#367)
## Description Cosmos version `0.7.4` currently does not correctly parse BigQuery connection information with dataset information. Cosmos expects dataset as a top level parameter in connection json. However, based on the documentation of apache-airflow-providers-google [here](https://airflow.apache.org/docs/apache-airflow-providers-google/stable/connections/gcp.html#configuring-the-connection), dataset can not appear as a top level parameter in connection json. This PR fixes this by updating the mapping in cosmos, so that it expects dataset parameter in `extra` field of connection. ## Related Issue(s) closes #365 ## Breaking Change? None that I am aware of ## Checklist - [ ] I have made corresponding changes to the documentation (if required) - [X] I have added tests that prove my fix is effective or that my feature works Co-authored-by: Monideep De <[email protected]>
- Loading branch information