You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2020/04/16 19:01:59 UTC

[GitHub] [beam] pabloem commented on a change in pull request #11433: [BEAM-9769] Ensuring JSON is the default export format for BQ sink

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:
users@infra.apache.org


With regards,
Apache Git Services