You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/12/09 17:00:50 UTC
[GitHub] [airflow] kazanzhy edited a comment on issue #19507: Make BigQueryHook compatible with sqlalchemy
kazanzhy edited a comment on issue #19507:
URL: https://github.com/apache/airflow/issues/19507#issuecomment-989735471
Seems you're right @david30907d
So now I see three options:
- Rename `conn_type` from `gcpbigquery` to `bigquery` (harder)
- Overwrite of `DbApiHook.get_uri` in `BigQueryHook` (easier).
- `BigQueryHook.get_uri().replace('gcpbigquery', 'bigquery ')` (will work for you, even if changes above will be implemented)
- Try not to use `BigQueryHook.get_uri()` and use a lot of other methods provided by hook (up to you)
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org