pepe

  • 홈
  • 태그
  • 방명록

csv 1

Airflow query csv export, 쿼리로 csv export

공식문서를 기반으로 만들었다. https://airflow.apache.org/docs/apache-airflow/stable/_api/airflow/hooks/dbapi/index.html#airflow.hooks.dbapi.DbApiHook.get_pandas_df 아래 내용을 토대로 만들었다. https://pepega.tistory.com/49 전체 코드는 아래에 있다. https://github.com/GHGHGHKO/airflow/commit/7509b3c13816629c450afc8f8a325143c1da1d65 기존에는 get_records 메서드를 활용했다. def execute(self, context): hook = PostgresHook( postgres_conn_id = self...

Airflow 2022.03.20
1
더보기
프로필사진

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

Tag

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

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

Archives

Calendar

«   2026/01   »
일 월 화 수 목 금 토
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 31

방문자수Total

  • Today :
  • Yesterday :
GitHub

Copyright © Kakao Corp. All rights reserved.

티스토리툴바