tests.system.apache.kylin.example_kylin_dag

這是一個使用 KylinCubeOperator 的示例 DAG。下面的任務包括 Kylin 的構建、重新整理和合並操作。

屬性

ENV_ID

DAG_ID

test_run

函式

gen_build_time()

生成構建時間並推送到 XCom(鍵為 "return_value")

模組內容

tests.system.apache.kylin.example_kylin_dag.ENV_ID[source]
tests.system.apache.kylin.example_kylin_dag.DAG_ID = 'example_kylin_operator'[source]
tests.system.apache.kylin.example_kylin_dag.gen_build_time()[source]

生成構建時間並推送到 XCom(鍵為“return_value”) :return: 包含構建時間值的字典。

tests.system.apache.kylin.example_kylin_dag.test_run[source]

本條目有幫助嗎?