MySQLToGCSOperator

Google

Copy data from MySQL to Google Cloud Storage in JSON or CSV format.

View Source

Last Updated: May. 7, 2021

Access Instructions

Install the Google provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

mysql_conn_idstrReference to a specific MySQL hook.
ensure_utcboolEnsure TIMESTAMP columns exported as UTC. If set to False, TIMESTAMP columns will be exported using the MySQL server's default timezone.

Documentation

Copy data from MySQL to Google Cloud Storage in JSON or CSV format.

Example DAGs

Was this page helpful?