반응형
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 |
Tags
- matplotlib
- dataframe
- list
- PostgreSQL
- hive
- Tkinter
- Python
- django
- c#
- Github
- numpy
- google apps script
- PANDAS
- Google Spreadsheet
- 파이썬
- Java
- Excel
- Kotlin
- Redshift
- math
- string
- Presto
- gas
- PySpark
- Apache
- Google Excel
- GIT
- array
- SQL
Archives
- Today
- Total
목록PrestoHook (1)
달나라 노트
Airflow Operator : PrestoHook (Airflow에서 Presto query 실행)
Airflow에서 PrestoHook은 Presto database와 연결하여 PrestoHook query를 실행하는 등의 작업을 해줍니다. PrestoHook은 특히 PythonOperator와 같이 사용하면 용이하므로 아래 예시도 PythonOperator와 같이 사용하는 상황을 가정해보았습니다. from airflow import DAGfrom airflow.operators.python import PythonVirtualenvOperatordag = DAG( dag_id='test_dag', start_date=datetime.datetime(2022, 9, 27), schedule_interval='0 20 * * *')def test_function(): import ..
Airflow/Airflow Operator
2025. 10. 18. 14:21