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

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

                Author: ASF GitHub Bot
            Created on: 30/Dec/21 04:18
            Start Date: 30/Dec/21 04:18
    Worklog Time Spent: 10m 
      Work Description: quentin-sommer removed a comment on pull request #15489:
URL: https://github.com/apache/beam/pull/15489#issuecomment-978063450


   @pabloem I see the errors in the build here 
https://ci-beam.apache.org/job/beam_PreCommit_Python_Commit/20632/consoleText 
but I don't see the test source... Should we ping someone else if you don't 
have time to look at it?
   
   Example of stacktrace:
   ```
   Exception in thread Thread-1057:
   Traceback (most recent call last):
     File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
       self.run()
     File "/usr/lib/python3.7/threading.py", line 870, in run
       self._target(*self._args, **self._kwargs)
     File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/runners/portability/local_job_service.py",
 line 276, in _run_job
       self._pipeline_proto)
     File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner.py",
 line 206, in run_via_runner_api
       return self.run_stages(stage_context, stages)
     File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner.py",
 line 385, in run_stages
       runner_execution_context, bundle_context_manager)
     File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner.py",
 line 653, in _run_stage
       bundle_manager))
     File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner.py",
 line 770, in _run_bundle
       data_input, data_output, input_timers, expected_timer_output)
     File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner.py",
 line 1120, in process_bundle
       raise RuntimeError(result.error)
   RuntimeError: Traceback (most recent call last):
     File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/runners/common.py",
 line 1198, in process
       return self.do_fn_invoker.invoke_process(windowed_value)
     File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/runners/common.py",
 line 719, in invoke_process
       windowed_value, additional_args, additional_kwargs)
     File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/runners/common.py",
 line 843, in _invoke_process_per_window
       self.process_method(*args_for_process),
     File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/transforms/core.py",
 line 1635, in <lambda>
       wrapper = lambda x, *args, **kwargs: [fn(x, *args, **kwargs)]
     File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/testing/util.py",
 line 191, in _equal
       raise BeamAssertException(msg)
   apache_beam.testing.util.BeamAssertException: Failed assert: ['a'] == ['a', 
'b'], unexpected elements ['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: [email protected]

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


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

    Worklog Id:     (was: 702198)
    Time Spent: 17h 50m  (was: 17h 40m)

> Allow customising batch duration when streaming with WriteToBigQuery
> --------------------------------------------------------------------
>
>                 Key: BEAM-12865
>                 URL: https://issues.apache.org/jira/browse/BEAM-12865
>             Project: Beam
>          Issue Type: New Feature
>          Components: io-py-gcp
>    Affects Versions: Not applicable
>            Reporter: Quentin Sommer
>            Priority: P2
>             Fix For: Not applicable
>
>          Time Spent: 17h 50m
>  Remaining Estimate: 0h
>
> Hi,
> We allow customising the {{batch_size}} when streaming to BigQuery but the 
> batch duration (used by {{GroupIntoBatches}}) is set to 
> {{DEFAULT_BATCH_BUFFERING_DURATION_LIMIT_SEC}} (0.2)
> I'd like to add the option to specify the batch duration to allow better 
> batching for scenarios with little data throughput.
> It will use the {{triggering_frequency}} param already used when doing batch 
> file loads



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to