Skip to content

Commit fbf6bf6

Browse files
feat: add estimated physical file sizes to ReadAPI v1 (#2157)
* feat: add estimated physical file sizes to ReadAPI v1 PiperOrigin-RevId: 542350532 Source-Link: googleapis/googleapis@a4ff1c2 Source-Link: https://github.com/googleapis/googleapis-gen/commit/b5b5fe5dcd4bce15b7b9035b925452ee7caf489b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjViNWZlNWRjZDRiY2UxNWI3YjkwMzViOTI1NDUyZWU3Y2FmNDg5YiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 22237a5 commit fbf6bf6

6 files changed

Lines changed: 255 additions & 104 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,20 @@ If you are using Maven without the BOM, add this to your dependencies:
5050
If you are using Gradle 5.x or later, add this to your dependencies:
5151

5252
```Groovy
53-
implementation platform('com.google.cloud:libraries-bom:26.16.0')
53+
implementation platform('com.google.cloud:libraries-bom:26.17.0')
5454
5555
implementation 'com.google.cloud:google-cloud-bigquerystorage'
5656
```
5757
If you are using Gradle without BOM, add this to your dependencies:
5858

5959
```Groovy
60-
implementation 'com.google.cloud:google-cloud-bigquerystorage:2.37.2'
60+
implementation 'com.google.cloud:google-cloud-bigquerystorage:2.38.0'
6161
```
6262

6363
If you are using SBT, add this to your dependencies:
6464

6565
```Scala
66-
libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "2.37.2"
66+
libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "2.38.0"
6767
```
6868
<!-- {x-version-update-end} -->
6969

@@ -220,7 +220,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
220220
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquerystorage/java11.html
221221
[stability-image]: https://img.shields.io/badge/stability-stable-green
222222
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerystorage.svg
223-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerystorage/2.37.2
223+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerystorage/2.38.0
224224
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
225225
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
226226
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClientTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public void createReadSessionTest() throws Exception {
9393
.setReadOptions(ReadSession.TableReadOptions.newBuilder().build())
9494
.addAllStreams(new ArrayList<ReadStream>())
9595
.setEstimatedTotalBytesScanned(452788190)
96+
.setEstimatedTotalPhysicalFileSize(938325754)
9697
.setEstimatedRowCount(-1745583577)
9798
.setTraceId("traceId-1067401920")
9899
.build();
@@ -146,6 +147,7 @@ public void createReadSessionTest2() throws Exception {
146147
.setReadOptions(ReadSession.TableReadOptions.newBuilder().build())
147148
.addAllStreams(new ArrayList<ReadStream>())
148149
.setEstimatedTotalBytesScanned(452788190)
150+
.setEstimatedTotalPhysicalFileSize(938325754)
149151
.setEstimatedRowCount(-1745583577)
150152
.setTraceId("traceId-1067401920")
151153
.build();

0 commit comments

Comments
 (0)