MySQLToGCSOperator

Google

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

View on GitHub

Last Updated: Oct. 23, 2022

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_idReference to mysql connection id.
ensure_utcEnsure 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, CSV or Parquet format.

See also

For more information on how to use this operator, take a look at the guide: MySQLToGCSOperator

Was this page helpful?