You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "Abacn (via GitHub)" <gi...@apache.org> on 2024/01/04 21:08:34 UTC

Re: [I] [Bug]: Cannot use Json type with BigQueryIO and write method FILE_LOAD, avro [beam]

Abacn commented on issue #23025:
URL: https://github.com/apache/beam/issues/23025#issuecomment-1877762443

   I tried to remove the validation and use run BigQueryIOJsonIT. There is a caveat that for a TableRow, if I set it to be
   ```
   .set("country_code", some_json_of_string_type) // some_json_of_string_type = "{\"a\":\"b\"}"
   ```
   The written json is a single escaped string ( "{\"a\":\"b\"}" ) using FILE_LOAD method. But the string is unescaped using STORAGE_WRITE_API or STREAMING_INSERT method ( {"a":"b"} ).


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