airflow.providers.apache.hive.transfers.hive_to_samba¶
This module contains an operator to move data from Hive to Samba.
Module Contents¶
Classes¶
| Executes hql code in a specific Hive database and loads the | 
- class airflow.providers.apache.hive.transfers.hive_to_samba.HiveToSambaOperator(*, hql: str, destination_filepath: str, samba_conn_id: str = 'samba_default', hiveserver2_conn_id: str = 'hiveserver2_default', **kwargs)[source]¶
- Bases: - airflow.models.BaseOperator- Executes hql code in a specific Hive database and loads the results of the query as a csv to a Samba location. - Parameters
- hql (str) -- the hql to be exported. (templated) 
- destination_filepath (str) -- the file path to where the file will be pushed onto samba 
- samba_conn_id (str) -- reference to the samba destination 
- hiveserver2_conn_id (str) -- Reference to the :ref: Hive Server2 thrift service connection id <howto/connection:hiveserver2>.