You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "jeanwisser (via GitHub)" <gi...@apache.org> on 2025/09/23 08:02:35 UTC
Re: [I] BigQueryAvroUtils unable to convert field with record [beam]
jeanwisser commented on issue #19866:
URL: https://github.com/apache/beam/issues/19866#issuecomment-3322852423
I face the same issue.
When using `withAvroFormatFunction` or `withAvroWriter` with `writeMethod = Method.FILE_LOADS`, nullable nested records will fail because the union fails to resolve in `GenericData.resolveUnion()`.
The union schema of the nested record is prefixed with the namespace `org.apache.beam.sdk.io.gcp.bigquery.`, but the datum schema is not which fails when we do a `union.getIndexNamed()`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org