airflow-bigquerylogger-0.4.5
توضیحات
BigQuery logger handler for Airflow
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | airflow-bigquerylogger-0.4.5 |
| نام | airflow-bigquerylogger |
| نسخه کتابخانه | 0.4.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Gabriele Diener |
| ایمیل نویسنده | gabriele.diener@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/airflow-bigquerylogger/ |
| مجوز | - |
# BigQuery logger handler for Airflow
## Installation
`pip install airflow-bigquerylogger`
## Configuration
```bash
AIRFLOW__CORE__REMOTE_LOGGING='true'
AIRFLOW__CORE__REMOTE_BASE_LOG_FOLDER='gs://bucket/path'
AIRFLOW__CORE__REMOTE_LOG_CONN_ID='gcs_log'
AIRFLOW__CORE__LOGGING_CONFIG_CLASS='bigquerylogger.config.LOGGING_CLASS'
AIRFLOW__CORE__LOG_BIGQUERY_DATASET='dataset.table'
AIRFLOW__CORE__LOG_BIGQUERY_LIMIT=50
```
### Google Cloud BigQuery
Rows that were written to a table recently via streaming (using the tabledata.insertall method) cannot be modified using UPDATE, DELETE, or MERGE statements. I recommend setting up a table retention!
## Credits
Thanks to Bluecore engineering team for [this usefull article](https://medium.com/bluecore-engineering/kubernetes-pod-logging-in-the-airflow-ui-ed9ca6f37e9d).
نیازمندی
| مقدار | نام |
|---|---|
| >=1.10.0 | apache-airflow |
| >=1.10.0 | apache-airflow[gcp] |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl airflow-bigquerylogger-0.4.5:
pip install airflow-bigquerylogger-0.4.5.whl
نصب پکیج tar.gz airflow-bigquerylogger-0.4.5:
pip install airflow-bigquerylogger-0.4.5.tar.gz