airflow.contrib.operators.postgres_to_gcs_operator¶
PostgreSQL to GCS operator.
Module Contents¶
-
class
airflow.contrib.operators.postgres_to_gcs_operator.PostgresToGoogleCloudStorageOperator(postgres_conn_id='postgres_default', *args, **kwargs)[source]¶ Bases:
airflow.contrib.operators.sql_to_gcs.BaseSQLToGoogleCloudStorageOperatorCopy data from Postgres to Google Cloud Storage in JSON or CSV format.
- Parameters
postgres_conn_id (str) – Reference to a specific Postgres hook.