Skip to content

[BEAM-8755] Upgrade google-cloud-bigquerystorage to one from libraries-bom (1.17.0)#14563

Closed
suztomo wants to merge 1 commit intoapache:masterfrom
suztomo:bigquerystorage_libraries-bom
Closed

[BEAM-8755] Upgrade google-cloud-bigquerystorage to one from libraries-bom (1.17.0)#14563
suztomo wants to merge 1 commit intoapache:masterfrom
suztomo:bigquerystorage_libraries-bom

Conversation

@suztomo
Copy link
Copy Markdown
Contributor

@suztomo suztomo commented Apr 16, 2021

#14527 (comment) found that old google-cloud-bigquerystorage would create dependency conflicts over gax-httpjson. Let's upgrade the dependency. The latest libraries-bom 20.0.0 there has google-cloud-bigquerystorage version 1.17.0.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

ValidatesRunner compliance status (on master branch)

Lang ULR Dataflow Flink Samza Spark Twister2
Go --- Build Status Build Status --- Build Status ---
Java Build Status Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status
Build Status
Build Status
Build Status
Python --- Build Status
Build Status
Build Status
Build Status
Build Status
--- Build Status ---
XLang Build Status Build Status Build Status --- Build Status ---

Examples testing status on various runners

Lang ULR Dataflow Flink Samza Spark Twister2
Go --- --- --- --- --- --- ---
Java --- Build Status
Build Status
Build Status
--- --- --- --- ---
Python --- --- --- --- --- --- ---
XLang --- --- --- --- --- --- ---

Post-Commit SDK/Transform Integration Tests Status (on master branch)

Go Java Python
Build Status Build Status Build Status
Build Status
Build Status

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website Whitespace Typescript
Non-portable Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status Build Status Build Status
Portable --- Build Status Build Status --- --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests

See CI.md for more information about GitHub Actions CI.

appendRequestBuilder = appendRequestBuilder.setOffset(Int64Value.of(offset));
}
return streamWriter.append(appendRequestBuilder.build());
return streamWriter.append(rows, offset);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change ignores descriptor. What's a good migration?

https://github.com/googleapis/java-bigquerystorage/pull/924/files

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yayi-google (I saw your name on https://github.com/googleapis/java-bigquerystorage/pull/924/files). I appreciate if you can help here. Do you know a good way to adjust this Beam code for the method removal?
(I don't use Beam or Bigquery; I just want to upgrade the library in Beam)

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 16, 2021

Codecov Report

Merging #14563 (2f9d1d5) into master (6e24d1d) will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #14563      +/-   ##
==========================================
- Coverage   83.61%   83.61%   -0.01%     
==========================================
  Files         445      445              
  Lines       59025    59025              
==========================================
- Hits        49356    49352       -4     
- Misses       9669     9673       +4     
Impacted Files Coverage Δ
.../apache_beam/runners/direct/transform_evaluator.py
...s/sdks/python/apache_beam/io/external/snowflake.py
...ow/dataflow_exercise_streaming_metrics_pipeline.py
..._beam/testing/benchmarks/nexmark/queries/query6.py
...ython/apache_beam/io/gcp/tests/bigquery_matcher.py
...thon/apache_beam/runners/worker/channel_factory.py
...build/srcs/sdks/python/apache_beam/dataframe/io.py
...am/runners/interactive/options/capture_limiters.py
...sdks/python/apache_beam/transforms/cy_combiners.py
...apache_beam/portability/api/beam_runner_api_pb2.py
... and 880 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 667ec40...2f9d1d5. Read the comment docs.

@suztomo suztomo changed the title google-cloud-bigquerystorage from libraries-bom (1.17.0) [BEAM-8755] google-cloud-bigquerystorage from libraries-bom (1.17.0) Apr 16, 2021
@suztomo suztomo changed the title [BEAM-8755] google-cloud-bigquerystorage from libraries-bom (1.17.0) [BEAM-8755] Upgrade google-cloud-bigquerystorage to one from libraries-bom (1.17.0) Apr 16, 2021
@yayi-google
Copy link
Copy Markdown

yayi-google commented Apr 16, 2021 via email

@suztomo
Copy link
Copy Markdown
Contributor Author

suztomo commented Apr 16, 2021

@yayi-google Found #14548. Thank you!

@suztomo suztomo closed this Apr 16, 2021
suztomo added a commit to suztomo/beam that referenced this pull request Apr 19, 2021
The google-cloud-bigquerystorage 1.12.0 has old gax-httpjson
version 0.78.0, which causes dependency conflicts.
The libraries-bom 20.0.0 has google-cloud-bigquerystorage 1.17.0
but the version has removed a method used in Beam (
apache#14563). Unfortunatley even
1.17.0 does not have compatible version of gax-httpjson.
Therefore, this commit fixes the dependency conflict by declaring
newer gax-httpjson (version from the libraries-bom) on the
sdks/java/io/google-cloud-platform module.
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.

2 participants