kkdoon commented on issue #23541:
URL: https://github.com/apache/beam/issues/23541#issuecomment-1275617413
Thanks @ahmedabu98 for opening this issue. The root cause is the reader
schema generated by `BigQueryAvroUtils.toGenericAvroSchema()` for numeric
BigQuery type, where the expected schema should be
like:`{"type":"bytes","logicalType":"decimal","precision":38,"scale":9}`,
however this function generates `{"type":"bytes"}` instead. Using only the
writer schema fixes this issue since it reads the correct AVRO schema.
I have created a PR #23594 for the same.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]