Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions airflow/contrib/operators/gcs_to_bq.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class GoogleCloudStorageToBigQueryOperator(BaseOperator):
Not applicable for external tables.
:type cluster_fields: list[str]
:param autodetect: [Optional] Indicates if we should automatically infer the
options and schema for CSV and JSON sources. (Default: ``False``).
options and schema for CSV and JSON sources. (Default: ``True``).
Parameter must be setted to True if 'schema_fields' and 'schema_object' are undefined.
It is suggested to set to True if table are create outside of Airflow.
:type autodetect: bool
Expand Down Expand Up @@ -178,7 +178,7 @@ def __init__(self,
external_table=False,
time_partitioning=None,
cluster_fields=None,
autodetect=False,
autodetect=True,
encryption_configuration=None,
*args, **kwargs):

Expand Down