pepe

  • 홈
  • 태그
  • 방명록

Custom 2

Airflow PostgresOperator Custom 하기

공식 문서를 기반으로 작성하였다. PostgresHook https://airflow.apache.org/docs/apache-airflow-providers-postgres/stable/_api/airflow/providers/postgres/hooks/postgres/index.html#airflow.providers.postgres.hooks.postgres.PostgresHook.conn_name_attr DbApi https://airflow.apache.org/docs/apache-airflow/stable/_modules/airflow/hooks/dbapi.html#DbApiHook.get_first 하단 코드는 아래에 있다. https://github.com/GHGHGHKO/airflow/..

Airflow 2022.03.17

Airflow custom Operator 만들기

공식 문서를 기반으로 글과 코드를 작성하였다. https://airflow.apache.org/docs/apache-airflow/stable/howto/custom-operator.html 코드는 아래에 있다. https://github.com/GHGHGHKO/airflow/commit/37966fd4e8774e04c95f6393fd796b86573d4dc2 예시를 들어서 내용을 적도록 하겠다. 테이블 스페이스가 부족할 때 경고 메일을 보내는 스케줄을 추가하려고 한다. 메일 내용에 특정 테이블 스페이스 이름을 넣은 채로 메일을 보내고 싶은데 --테이블 스페이스 이름 조회 select name from table_space; Airflow에서 제공하는 SQLOperator는 Airflow의 XCOM으로 ..

Airflow 2022.03.16
1
더보기
프로필사진

  • 분류 전체보기 (98)
    • SpringBoot (18)
    • Kotlin (6)
    • Rust (1)
    • self-hosted (5)
    • docs (2)
    • 백엔드 (1)
    • Python (0)
    • Airflow (10)
    • C++ (3)
    • C# (1)
    • C (1)
    • Java (3)
    • Ubuntu (3)
    • DB (1)
    • Github (3)
    • 테스트 (4)
    • HackerRank (4)
    • Docker (6)
    • 취미 (1)
    • 윈도우, 컴퓨터 (5)
    • 맥주 (20)

Tag

Java, BEER, docker, SQL, API, Container, Kotlin, Google, Rest, db, postgres, apache, naver, github, 맥주, SpringBoot, Python, Airflow, boot, spring,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :
GitHub

Copyright © Kakao Corp. All rights reserved.

티스토리툴바