airflow.providers.mysql.transfers.presto_to_mysql¶
類¶
將資料從 Presto 移動到 MySQL。 |
模組內容¶
- class airflow.providers.mysql.transfers.presto_to_mysql.PrestoToMySqlOperator(*, sql, mysql_table, presto_conn_id='presto_default', mysql_conn_id='mysql_default', mysql_preoperator=None, **kwargs)[source]¶
基類:
airflow.models.BaseOperator將資料從 Presto 移動到 MySQL。
注意,目前資料在推送到 MySQL 之前會載入到記憶體中,因此此 operator 應該用於處理少量資料。
- 引數:
- template_fields: collections.abc.Sequence[str] = ('sql', 'mysql_table', 'mysql_preoperator')[source]¶
- template_ext: collections.abc.Sequence[str] = ('.sql',)[source]¶