[ 
https://issues.apache.org/jira/browse/BEAM-9769?focusedWorklogId=423657&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-423657
 ]

ASF GitHub Bot logged work on BEAM-9769:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Apr/20 19:02
            Start Date: 16/Apr/20 19:02
    Worklog Time Spent: 10m 
      Work Description: pabloem commented on 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]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 423657)
    Time Spent: 3.5h  (was: 3h 20m)

> Ensure JSON imports are the default behavior for BigQuerySink and 
> WriteToBigQuery in Python
> -------------------------------------------------------------------------------------------
>
>                 Key: BEAM-9769
>                 URL: https://issues.apache.org/jira/browse/BEAM-9769
>             Project: Beam
>          Issue Type: Bug
>          Components: io-py-gcp
>            Reporter: Pablo Estrada
>            Assignee: Pablo Estrada
>            Priority: Major
>             Fix For: 2.21.0
>
>          Time Spent: 3.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to