turbaszek commented on a change in pull request #18278:
URL: https://github.com/apache/airflow/pull/18278#discussion_r709594271
##########
File path: airflow/providers/apache/kylin/example_dags/example_kylin_dag.py
##########
@@ -21,110 +21,92 @@
The tasks below include kylin build, refresh, merge operation.
"""
from airflow import DAG
-from airflow.operators.python import PythonOperator
from airflow.providers.apache.kylin.operators.kylin_cube import
KylinCubeOperator
from airflow.utils.dates import days_ago
dag = DAG(
dag_id='example_kylin_operator',
schedule_interval=None,
start_date=days_ago(1),
+ default_args={'kylin_conn_id': 'kylin_default', 'project': 'learn_kylin',
'cube': 'kylin_sales_cube'},
Review comment:
Nice one!
--
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]