Skip to content

Commit

Permalink
feat: add estimated physical file sizes to ReadAPI v1 (#2157)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jun 22, 2023
1 parent 22237a5 commit fbf6bf6
Show file tree
Hide file tree
Showing 6 changed files with 255 additions and 104 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,20 @@ If you are using Maven without the BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies:

```Groovy
implementation platform('com.google.cloud:libraries-bom:26.16.0')
implementation platform('com.google.cloud:libraries-bom:26.17.0')
implementation 'com.google.cloud:google-cloud-bigquerystorage'
```
If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-bigquerystorage:2.37.2'
implementation 'com.google.cloud:google-cloud-bigquerystorage:2.38.0'
```

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

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

Expand Down Expand Up @@ -220,7 +220,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquerystorage/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerystorage.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerystorage/2.37.2
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerystorage/2.38.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public void createReadSessionTest() throws Exception {
.setReadOptions(ReadSession.TableReadOptions.newBuilder().build())
.addAllStreams(new ArrayList<ReadStream>())
.setEstimatedTotalBytesScanned(452788190)
.setEstimatedTotalPhysicalFileSize(938325754)
.setEstimatedRowCount(-1745583577)
.setTraceId("traceId-1067401920")
.build();
Expand Down Expand Up @@ -146,6 +147,7 @@ public void createReadSessionTest2() throws Exception {
.setReadOptions(ReadSession.TableReadOptions.newBuilder().build())
.addAllStreams(new ArrayList<ReadStream>())
.setEstimatedTotalBytesScanned(452788190)
.setEstimatedTotalPhysicalFileSize(938325754)
.setEstimatedRowCount(-1745583577)
.setTraceId("traceId-1067401920")
.build();
Expand Down
Loading

0 comments on commit fbf6bf6

Please sign in to comment.