Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
2.22.0, 2.23.0, 2.24.0
-
Patch
Description
For some reason, convertRequiredField used in BigQueryAvroUtils.convertGenericRecordToTableRow casts values with the Avro INTEGER type to Long, but then converts them to String objects via toString.
I'm quite unsure where convertGenericRecordToTableRow is used elsewhere, but we use it to utilize BigQuery's Storage API reads.
I'm fairly certain this is not expected behaviour because other types are converted properly and due to the cast to Long it's ensured that any values will fit into Long objects anyways.
Attachments
Issue Links
- links to