zkan commented on a change in pull request #18657:
URL: https://github.com/apache/airflow/pull/18657#discussion_r720686440
##########
File path: airflow/providers/apache/drill/example_dags/example_drill_dag.py
##########
@@ -19,14 +19,15 @@
"""
Example Airflow DAG to execute SQL in an Apache Drill environment using the
`DrillOperator`.
"""
+from datetime import datetime
+
from airflow.models import DAG
from airflow.providers.apache.drill.operators.drill import DrillOperator
-from airflow.utils.dates import days_ago
with DAG(
dag_id='example_drill_dag',
schedule_interval=None,
- start_date=days_ago(2),
+ start_date=datetime(2021, 1, 1),
Review comment:
Should we use `START_DATE` here like
https://github.com/apache/airflow/pull/18657/files#diff-80e53751469787f4571bdcf652c0803676ab5e19b91c1dab7a39c678e9e7bfe3R76,
so it will be consistent for all example DAGs?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]