tests.system.providers.qubole.example_qubole

模組內容

函數

compare_result(hive_show_table, hive_s3_location[, ti])

比較兩個 QuboleOperator 任務的結果。

屬性

START_DATE

ENV_ID

DAG_ID

test_run

tests.system.providers.qubole.example_qubole.START_DATE[原始碼]
tests.system.providers.qubole.example_qubole.ENV_ID[原始碼]
tests.system.providers.qubole.example_qubole.DAG_ID = 'example_qubole_operator'[原始碼]
tests.system.providers.qubole.example_qubole.compare_result(hive_show_table, hive_s3_location, ti=None)[原始碼]

比較兩個 QuboleOperator 任務的結果。

參數
  • hive_show_table – “hive_show_table” 任務。

  • hive_s3_location – “hive_s3_location” 任務。

  • ti – TaskInstance 物件。

回傳

如果檔案相同則為 True,否則為 False。

回傳類型

bool

tests.system.providers.qubole.example_qubole.test_run[原始碼]

此條目是否有幫助?