Luke Cwik created BEAM-12765:
--------------------------------
Summary: Cannot access field fruit on a value with type
ARRAY<STRUCT<fruit STRING>>
Key: BEAM-12765
URL: https://issues.apache.org/jira/browse/BEAM-12765
Project: Beam
Issue Type: Bug
Components: sdk-py-core
Affects Versions: 2.33.0
Reporter: Luke Cwik
Assignee: Pablo Estrada
I believe https://github.com/apache/beam/pull/15237 is the root cause.
Example failure:
https://ci-beam.apache.org/job/beam_PostCommit_Python38/1564/testReport/junit/apache_beam.io.gcp.bigquery_write_it_test/BigQueryWriteIntegrationTests/test_big_query_write_temp_table_append_schema_update/
Tests are failing with:
{noformat}
google.api_core.exceptions.BadRequest: 400 Cannot access field fruit on a value
with type ARRAY<STRUCT<fruit STRING>> at [1:53] (job ID:
3dcd4354-fcae-44dd-8e27-cff6ad41155c)
-----Query Job SQL Follows-----
| . | . | . | . | . | . |
. | . | . | . | . | . | 1:SELECT bytes,
date, time, int64, bool, nested_field.fruit FROM
python_write_to_table_16291383366439.python_append_schema_update | .
| . | . | . | . | . | . | . | .
| . | . | . |
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)