Skip to content

Commit 15b49ad

Browse files
Sql to GSC operators update docs for parquet format (#25878)
1 parent b92f619 commit 15b49ad

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

airflow/providers/google/cloud/transfers/mssql_to_gcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
class MSSQLToGCSOperator(BaseSQLToGCSOperator):
2828
"""Copy data from Microsoft SQL Server to Google Cloud Storage
29-
in JSON or CSV format.
29+
in JSON, CSV or Parquet format.
3030
3131
:param mssql_conn_id: Reference to a specific MSSQL hook.
3232

airflow/providers/google/cloud/transfers/mysql_to_gcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030

3131
class MySQLToGCSOperator(BaseSQLToGCSOperator):
32-
"""Copy data from MySQL to Google Cloud Storage in JSON or CSV format.
32+
"""Copy data from MySQL to Google Cloud Storage in JSON, CSV or Parquet format.
3333
3434
.. seealso::
3535
For more information on how to use this operator, take a look at the guide:

airflow/providers/google/cloud/transfers/oracle_to_gcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030

3131
class OracleToGCSOperator(BaseSQLToGCSOperator):
32-
"""Copy data from Oracle to Google Cloud Storage in JSON or CSV format.
32+
"""Copy data from Oracle to Google Cloud Storage in JSON, CSV or Parquet format.
3333
3434
.. seealso::
3535
For more information on how to use this operator, take a look at the guide:

airflow/providers/google/cloud/transfers/postgres_to_gcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def description(self):
6767

6868
class PostgresToGCSOperator(BaseSQLToGCSOperator):
6969
"""
70-
Copy data from Postgres to Google Cloud Storage in JSON or CSV format.
70+
Copy data from Postgres to Google Cloud Storage in JSON, CSV or Parquet format.
7171
7272
:param postgres_conn_id: Reference to a specific Postgres hook.
7373
:param use_server_side_cursor: If server-side cursor should be used for querying postgres.

airflow/providers/google/cloud/transfers/presto_to_gcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def __iter__(self) -> "_PrestoToGCSPrestoCursorAdapter":
141141

142142

143143
class PrestoToGCSOperator(BaseSQLToGCSOperator):
144-
"""Copy data from PrestoDB to Google Cloud Storage in JSON or CSV format.
144+
"""Copy data from PrestoDB to Google Cloud Storage in JSON, CSV or Parquet format.
145145
146146
:param presto_conn_id: Reference to a specific Presto hook.
147147
"""

airflow/providers/google/cloud/transfers/sql_to_gcs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
class BaseSQLToGCSOperator(BaseOperator):
3636
"""
37-
Copy data from SQL to Google Cloud Storage in JSON or CSV format.
37+
Copy data from SQL to Google Cloud Storage in JSON, CSV, or Parquet format.
3838
3939
:param sql: The SQL to execute.
4040
:param bucket: The bucket to upload to.
@@ -50,7 +50,7 @@ class BaseSQLToGCSOperator(BaseOperator):
5050
filename param docs above). This param allows developers to specify the
5151
file size of the splits. Check https://cloud.google.com/storage/quotas
5252
to see the maximum allowed file size for a single object.
53-
:param export_format: Desired format of files to be exported.
53+
:param export_format: Desired format of files to be exported. (json, csv or parquet)
5454
:param field_delimiter: The delimiter to be used for CSV files.
5555
:param null_marker: The null marker to be used for CSV files.
5656
:param gzip: Option to compress file for upload (does not apply to schemas).

airflow/providers/google/cloud/transfers/trino_to_gcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def __iter__(self) -> "_TrinoToGCSTrinoCursorAdapter":
141141

142142

143143
class TrinoToGCSOperator(BaseSQLToGCSOperator):
144-
"""Copy data from TrinoDB to Google Cloud Storage in JSON or CSV format.
144+
"""Copy data from TrinoDB to Google Cloud Storage in JSON, CSV or Parquet format.
145145
146146
:param trino_conn_id: Reference to a specific Trino hook.
147147
"""

0 commit comments

Comments
 (0)