[
https://issues.apache.org/jira/browse/AIRFLOW-5685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16993289#comment-16993289
]
ASF subversion and git services commented on AIRFLOW-5685:
----------------------------------------------------------
Commit 4cbb055c4194dc2cd115a41b538d8f3299eee04f in airflow's branch
refs/heads/master from Ryan Yuan
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=4cbb055 ]
[AIRFLOW-5685] Loading AVRO file from GCS to BQ throwing ValueError (#6355)
[AIRFLOW-5685] Loading AVRO file from GCS to BQ throwing ValueError
> Loading AVRO file from GCS to BQ throwing ValueError
> ----------------------------------------------------
>
> Key: AIRFLOW-5685
> URL: https://issues.apache.org/jira/browse/AIRFLOW-5685
> Project: Apache Airflow
> Issue Type: Bug
> Components: gcp
> Affects Versions: 2.0.0
> Reporter: Ryan Yuan
> Assignee: Ryan Yuan
> Priority: Critical
>
> Using {{GoogleCloudStorageToBigQueryOperator to load AVRO file is causing
> exception as follows:}}
>
> {{Traceback (most recent call last):
> File "/Users/ryanyuan/dev/airflow/airflow/models/taskinstance.py", line
> 932, in _run_raw_task
> result = task_copy.execute(context=context)
> File "/Users/ryanyuan/dev/airflow/airflow/operators/gcs_to_bq.py", line
> 293, in execute
> encryption_configuration=self.encryption_configuration)
> File "/Users/ryanyuan/dev/airflow/airflow/gcp/hooks/bigquery.py", line
> 1290, in run_load
> backward_compatibility_configs)
> File "/Users/ryanyuan/dev/airflow/airflow/gcp/hooks/bigquery.py", line
> 2374, in _validate_src_fmt_configs
> .format(k, source_format))*ValueError: skipLeadingRows is not a valid
> src_fmt_configs for type AVRO.*}}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)