beam icon indicating copy to clipboard operation
beam copied to clipboard

[Task]: Update BigQueryIO.setTriggeringFrequency documentation

Open johnjcasey opened this issue 4 years ago • 22 comments

What needs to happen?

BigQueryIO currently documents triggering frequency as:

This is only applicable when the write method is set to {@link Method#FILE_LOADS}, and only when writing an unbounded {@link PCollection}.

However, we use triggering frequency for STORAGE_WRITE_API and STORAGE_API_AT_LEAST_ONCE as well. This documentation should be updated to reflect this.

In addition, during the validation component of BigQueryIO.write().expand(), we check for unbounded && (file loads || storage write api) to see if a triggering frequency is set. This should probably also be checked if storage write at least once is set.

Issue Priority

Priority: 2

Issue Component

Component: io-java-gcp

johnjcasey avatar Nov 02 '22 18:11 johnjcasey

I would like to contribute . Can anyone help me ? I am a newbie.

DhirajSardar avatar Dec 03 '22 13:12 DhirajSardar

For sure! https://beam.apache.org/contribute/ here is the contribution guide. Take a quick read through that, and then fork the repo to get started

johnjcasey avatar Dec 05 '22 15:12 johnjcasey

.take-issue

nikhilpothuru avatar Mar 27 '23 07:03 nikhilpothuru

@johnjcasey Hi John, I was reading through the guidelines for joining the ASF slack workspace and it looks like non-ASF members (those without an @apache.org address) need to be invited. I was wondering if I could join the workspace. My email is as follows: [email protected]

nikhilpothuru avatar Mar 27 '23 08:03 nikhilpothuru

I want to work on this issue .

Vivek-2004 avatar Apr 08 '23 00:04 Vivek-2004

[email protected]

Sorry it took a while, you're invited

johnjcasey avatar Apr 12 '23 15:04 johnjcasey

@Vivek-2004 Sounds good! Let me know how I can help

johnjcasey avatar Apr 12 '23 15:04 johnjcasey

I guess I have a solution to this issue... Would try to implement the solution once the issue is assigned to me

Vivek-2004 avatar Apr 12 '23 17:04 Vivek-2004

you can assign it to yourself using the command ".take-issue"

johnjcasey avatar Apr 13 '23 14:04 johnjcasey

.take-issue

0ChanAk avatar Oct 01 '23 03:10 0ChanAk

.take-issue

Ayush991rec avatar Jan 24 '25 16:01 Ayush991rec

.take-issue

rajkgupt avatar May 20 '25 11:05 rajkgupt

hi, I can solve this issue , i would like to contribute. .take-issue

Arunodoy18 avatar Nov 22 '25 21:11 Arunodoy18

I was going through BigQueryIO. looks like the triggering frequency is actually ignored when the method is STORAGE_API_AT_LEAST_ONCE. So, i do not see any issue

  1. The validation throws the warning that triggering frequency is ignored https://github.com/apache/beam/blob/31a96b6807ae22765c76ef2184ace106e27ed154/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java#L3762
  2. Inconsistent writes doe not create groups based on triggering frequency while https://github.com/apache/beam/blob/31a96b6807ae22765c76ef2184ace106e27ed154/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/StorageApiLoads.java#L158

tarun-google avatar Dec 12 '25 21:12 tarun-google

I would like to contribute on this issue.I am new contributer and would like to take this up. .take-issue

Vicky-8223 avatar Dec 31 '25 14:12 Vicky-8223

Hi, I’d like to work on this issue. Could you please assign it to me?

shivanshjais22 avatar Jan 26 '26 05:01 shivanshjais22

Hello, I would like to work on this issue. Could you please assign it to me?

KartikeyTripathi469 avatar Mar 16 '26 17:03 KartikeyTripathi469

Hi, I noticed there is already an open PR (#37205) addressing this issue.

I went through the discussion and would like to help if there are any pending changes or gaps that still need to be addressed. Please let me know if I can contribute.

Thanks!

Subramanya-Veeregowda avatar Apr 01 '26 10:04 Subramanya-Veeregowda

Hi, I noticed this issue and PR(#37205 ) has been inactive for a while and has some conflicts.

I’d like to help move this forward. I will open a new one with a minimal fix (only updating the relevant Javadoc)?

@ahmedabu98 if there is any specific requirements then mention it ready to work on it.

Subramanya-Veeregowda avatar Apr 18 '26 13:04 Subramanya-Veeregowda

I’d like to help move this forward. I will open a new one with a minimal fix (only updating the relevant Javadoc)?

Hey @Subramanya-Veeregowda, yes that should be enough to get it in!

ahmedabu98 avatar May 07 '26 19:05 ahmedabu98