[
https://issues.apache.org/jira/browse/BEAM-12765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luke Cwik updated BEAM-12765:
-----------------------------
Resolution: Fixed
Status: Resolved (was: Triage Needed)
https://ci-beam.apache.org/job/beam_PostCommit_Python38_PR/290/ shows that this
no longer fails.
> 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, test-failures
> Affects Versions: 2.33.0
> Reporter: Luke Cwik
> Assignee: Pablo Estrada
> Priority: P0
> Labels: currently-failing
> Fix For: 2.33.0
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> 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)