tvalentyn commented on a change in pull request #11086:
URL: https://github.com/apache/beam/pull/11086#discussion_r439522134



##########
File path: sdks/python/apache_beam/io/gcp/bigquery.py
##########
@@ -78,6 +72,12 @@
 or a table. Pipeline construction will fail with a validation error if neither
 or both are specified.
 
+When reading from BigQuery using `BigQuerySource`, bytes are returned as
+base64-encoded bytes. When reading via `ReadFromBigQuery`, bytes are returned
+as bytes without base64 encoding. This is due to the fact that ReadFromBigQuery
+uses Avro expors by default. To get base64-encoded bytes, you can use the flag

Review comment:
       nit: exports

##########
File path: CHANGES.md
##########
@@ -58,6 +58,10 @@
 
 * Support for X source added (Java/Python) 
([BEAM-X](https://issues.apache.org/jira/browse/BEAM-X)).
 * Support for reading from Snowflake added (Java) 
([BEAM-9722](https://issues.apache.org/jira/browse/BEAM-9722)).
+* A new transform to read from BigQuery has been added: 
`apache_beam.io.gcp.bigquery.ReadFromBigQuery`. This transform

Review comment:
       To confirm - there is no changes in behavior for old sync, right?




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to