AbhinavAtul opened a new pull request, #29838:
URL: https://github.com/apache/beam/pull/29838

    BigQuery does not seem to document that a ```TableRow``` **array** may be 
of format ```[{v: value1}, {v: value2}, ...]``` as mentioned 
[here](https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryUtilsTest.java#L429)
 and which is also the source of the issue, 
[BigQueryUtils#721](https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryUtils.java#L721)
   
   ```
   map(
                     v ->
                         (!innerTypeIsMap && v instanceof Map)
                             ? ((Map<String, Object>) v).get("v") // this value 
is null
                             : v)
   ```
   
   This **internal/non-api-exposed** representation with "v",  should be safe 
to drop with a version increment.


-- 
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]

Reply via email to