Skip to content

[BEAM-12468] added bigquery specific project id property#14980

Merged
pabloem merged 3 commits intoapache:masterfrom
npetunin-clgx:BEAM-12468-bigquery-projectid-property
Jul 2, 2021
Merged

[BEAM-12468] added bigquery specific project id property#14980
pabloem merged 3 commits intoapache:masterfrom
npetunin-clgx:BEAM-12468-bigquery-projectid-property

Conversation

@npetunin-clgx
Copy link
Copy Markdown
Contributor

Add an optional property for BigQuery to set an alternative project ID (other than main project ID in GcpOptions)

@pabloem
Copy link
Copy Markdown
Member

pabloem commented Jun 9, 2021

Run Java PreCommit

2 similar comments
@pabloem
Copy link
Copy Markdown
Member

pabloem commented Jun 15, 2021

Run Java PreCommit

@pabloem
Copy link
Copy Markdown
Member

pabloem commented Jun 17, 2021

Run Java PreCommit

@pabloem
Copy link
Copy Markdown
Member

pabloem commented Jun 17, 2021

This looks good actually. Is there any chance you could add a unit test for it? Some of these calls are hard to test, so it's not mandatory, but it would be great to have one.

Signed-off-by: Ricki Purnomo <rpurnomo@corelogic.com>
Co-authored-by: Ricki Purnomo <rpurnomo@corelogic.com>
Co-authored-by: Shan Lin Tsai <stsai@corelogic.com>
Co-authored-by: Dave Miller <davemiller@corelogic.com>
@pabloem
Copy link
Copy Markdown
Member

pabloem commented Jun 28, 2021

thanks a lot for adding the tests! and an annotation for them too. It's great.

The RAT test failure is because the new annotation file needs the Apache License header at the top of it (you can copy from any other file).

To fix spotless checks you can run ./gradlew :sdks:java:io:google-cloud-platform:spotlessApply, and to run tests locally you can use ./gradlew :sdks:java:io:google-cloud-platform:check to make sure they pass if you want to check locally.

Once the tests are passing, I'll merge the change. Thanks!

Signed-off-by: Ricki Purnomo <rpurnomo@corelogic.com>
Co-authored-by: Ricki Purnomo <rpurnomo@corelogic.com>
Co-authored-by: Nikita Petunin <npetunin@corelogic.com>
Co-authored-by: Shan Lin Tsai <stsai@corelogic.com>
@pabloem pabloem merged commit 05f9e77 into apache:master Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants