hard20 pts · first answer countsairflowcustom-operatorsairflow-dag-parsing
Database calls in __init__
A custom operator opens a database connection and runs a query in __init__ to load a config. The database sees this query thousands of times a day even when no task runs. Why?
Discussion 0
Join free to post in the discussion.
Related questions
- Retrying flaky Airflow tasksData Engineer
- What an Airflow sensor doesData Engineer
- Reading a cron scheduleData Engineer
- Operator, task and task instanceData Engineer
- What the scheduler doesData Engineer
- Metadata database for productionData Engineer
- What @weekly meansData Engineer
- Attempts with retries=3Data Engineer