fix(dag): add sys.path relative import and correct duckdb partition column

This commit is contained in:
2026-10-21 14:55:57 +07:00
parent 6a34dabf3e
commit 8deb174221
2 changed files with 12 additions and 6 deletions
+6
View File
@@ -1,9 +1,15 @@
import os
import sys
import glob
import yaml
from datetime import datetime, timedelta
from airflow import DAG
# Ensure bundle/dags directory is on sys.path for relative helper imports
current_dir = os.path.dirname(os.path.abspath(__file__))
if current_dir not in sys.path:
sys.path.insert(0, current_dir)
try:
from airflow.providers.standard.operators.bash import BashOperator
from airflow.providers.standard.operators.python import PythonOperator