pabloem commented on a change in pull request #11433: [BEAM-9769] Ensuring JSON
is the default export format for BQ sink
URL: https://github.com/apache/beam/pull/11433#discussion_r409783068
##########
File path: sdks/python/apache_beam/io/gcp/bigquery_file_loads_test.py
##########
@@ -176,7 +176,7 @@ def test_many_files(self):
file length is very small, so only a couple records fit in each file.
"""
- fn = bqfl.WriteRecordsToFile(schema=_ELEMENTS_SCHEMA, max_file_size=300)
+ fn = bqfl.WriteRecordsToFile(schema=_ELEMENTS_SCHEMA, max_file_size=50)
Review comment:
50 and 300 are the file sizes that force the transform to spill out after a
couple elements in JSON and AVRO respectively.
----------------------------------------------------------------
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]
With regards,
Apache Git Services