airflow.providers.apache.hive.transfers.hive_to_samba¶
此模組包含一個用於將資料從 Hive 移動到 Samba 的 operator。
類¶
在特定的 Hive 資料庫中執行 hql 程式碼,並將結果作為 csv 檔案載入到 Samba 位置。 |
模組內容¶
- 類 airflow.providers.apache.hive.transfers.hive_to_samba.HiveToSambaOperator(*, hql, destination_filepath, samba_conn_id='samba_default', hiveserver2_conn_id='hiveserver2_default', **kwargs)[source]¶
Bases:
airflow.models.BaseOperator在特定的 Hive 資料庫中執行 hql 程式碼,並將結果作為 csv 檔案載入到 Samba 位置。
- 引數:
- template_fields: collections.abc.Sequence[str] = ('hql', 'destination_filepath')[source]¶
- template_ext: collections.abc.Sequence[str] = ('.hql', '.sql')[source]¶