ahmedabu98 opened a new pull request, #30448:
URL: https://github.com/apache/beam/pull/30448
BigQuery clients sometimes * returns arrays as lists of KV maps with key
"v". We handle this by unwrapping the value before doing further processing.
When we read arrays of structs, we shouldn't carelessly unwrap this map.
This PR adds a check to only do so if the only key is "v", which indicates the
case mentioned above.
* In the past couple of years, I've never encountered this but I see logic
that handles this case (as well as the get("f") case). I wonder if this is
really old behavior that doesn't exist anymore and could use a cleanup.
--
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]