From 5352a7d7e1d7b01a33936adf7e204c5f49f0c230 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 12 Sep 2023 00:45:34 +0200 Subject: [PATCH 01/41] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3.15.0 (#2239) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6cacb4e277..7b64693529 100644 --- a/pom.xml +++ b/pom.xml @@ -76,7 +76,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.14.0 + 3.15.0 pom import From 7e46c53ff6883cc4e480c7723119b8fde3ea161a Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 11 Sep 2023 18:46:14 -0400 Subject: [PATCH 02/41] chore: for Java repos RenovateBot to ignore GitHub Actions workflow file (#1855) (#2238) chore: for Java repos RenovateBot to ignore GitHub Actions workflow file The actions used in the GitHub Actions workflow files do not appear in libraries' dependencies and mostly maintained by Java postprocessor templates. IgnorePath option document: https://docs.renovatebot.com/configuration-options/ Source-Link: https://github.com/googleapis/synthtool/commit/1543029c843989702adbe789acdead153ad696d1 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:88ba8dcc5c2c7792e1c3511381f4ab329002a1c42c512f66ca87ced572dfbf9f Co-authored-by: Owl Bot --- .github/.OwlBot.lock.yaml | 4 ++-- .kokoro/requirements.txt | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index d5500ef442..52eaa54d82 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:46d2d262cd285c638656c8bde468011b723dc0c7ffd6a5ecc2650fe639c82e8f -# created: 2023-07-24T14:21:17.707234503Z + digest: sha256:88ba8dcc5c2c7792e1c3511381f4ab329002a1c42c512f66ca87ced572dfbf9f +# created: 2023-09-05T18:54:42.225408832Z diff --git a/.kokoro/requirements.txt b/.kokoro/requirements.txt index 32989051e7..a73256ab80 100644 --- a/.kokoro/requirements.txt +++ b/.kokoro/requirements.txt @@ -12,9 +12,9 @@ cachetools==5.3.1 \ --hash=sha256:95ef631eeaea14ba2e36f06437f36463aac3a096799e876ee55e5cdccb102590 \ --hash=sha256:dce83f2d9b4e1f732a8cd44af8e8fab2dbe46201467fc98b3ef8f269092bf62b # via google-auth -certifi==2023.5.7 \ - --hash=sha256:0f0d56dc5a6ad56fd4ba36484d6cc34451e1c6548c61daad8c320169f91eddc7 \ - --hash=sha256:c6c2e98f5c7869efca1f8916fed228dd91539f9f1b444c314c06eef02980c716 +certifi==2023.7.22 \ + --hash=sha256:539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082 \ + --hash=sha256:92d6037539857d8206b8f6ae472e8b77db8058fec5937a1ef3f54304089edbb9 # via requests cffi==1.15.1 \ --hash=sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5 \ @@ -485,6 +485,5 @@ zipp==3.16.1 \ # via importlib-metadata # WARNING: The following packages were not pinned, but pip requires them to be -# pinned when the requirements file includes hashes and the requirement is not -# satisfied by a package already installed. Consider using the --allow-unsafe flag. +# pinned when the requirements file includes hashes. Consider using the --allow-unsafe flag. # setuptools From 9ddbe3d2ca56de6dc86e1b74e889bd638127231d Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 12 Sep 2023 10:21:05 -0400 Subject: [PATCH 03/41] chore: Update the Java code generator (gapic-generator-java) to 2.25.0 (#2240) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update the Java code generator (gapic-generator-java) to 2.25.0 PiperOrigin-RevId: 563824709 Source-Link: https://github.com/googleapis/googleapis/commit/8fe4127b6bd66764c7a854d555d05ff4914b6716 Source-Link: https://github.com/googleapis/googleapis-gen/commit/c8c0112151b19d890bb49b747b0ab28b816d47b1 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzhjMDExMjE1MWIxOWQ4OTBiYjQ5Yjc0N2IwYWIyOGI4MTZkNDdiMSJ9 * πŸ¦‰ 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 --- .../java/com/google/cloud/bigquery/storage/v1/ProjectName.java | 2 +- .../com/google/cloud/bigquery/storage/v1/ReadStreamName.java | 2 +- .../java/com/google/cloud/bigquery/storage/v1/TableName.java | 2 +- .../com/google/cloud/bigquery/storage/v1/WriteStreamName.java | 2 +- .../com/google/cloud/bigquery/storage/v1beta1/ProjectName.java | 2 +- .../com/google/cloud/bigquery/storage/v1beta2/ProjectName.java | 2 +- .../google/cloud/bigquery/storage/v1beta2/ReadStreamName.java | 2 +- .../com/google/cloud/bigquery/storage/v1beta2/TableName.java | 2 +- .../google/cloud/bigquery/storage/v1beta2/WriteStreamName.java | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProjectName.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProjectName.java index 1837ab9531..f6dd2d213d 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProjectName.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProjectName.java @@ -127,7 +127,7 @@ public boolean equals(Object o) { if (o == this) { return true; } - if (o != null || getClass() == o.getClass()) { + if (o != null && getClass() == o.getClass()) { ProjectName that = ((ProjectName) o); return Objects.equals(this.project, that.project); } diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamName.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamName.java index 6bebe51e5a..76d7d5cda4 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamName.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamName.java @@ -174,7 +174,7 @@ public boolean equals(Object o) { if (o == this) { return true; } - if (o != null || getClass() == o.getClass()) { + if (o != null && getClass() == o.getClass()) { ReadStreamName that = ((ReadStreamName) o); return Objects.equals(this.project, that.project) && Objects.equals(this.location, that.location) diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableName.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableName.java index e98c7301ae..f61a0c8637 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableName.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableName.java @@ -148,7 +148,7 @@ public boolean equals(Object o) { if (o == this) { return true; } - if (o != null || getClass() == o.getClass()) { + if (o != null && getClass() == o.getClass()) { TableName that = ((TableName) o); return Objects.equals(this.project, that.project) && Objects.equals(this.dataset, that.dataset) diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamName.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamName.java index 9edbc710a7..0788d62153 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamName.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamName.java @@ -174,7 +174,7 @@ public boolean equals(Object o) { if (o == this) { return true; } - if (o != null || getClass() == o.getClass()) { + if (o != null && getClass() == o.getClass()) { WriteStreamName that = ((WriteStreamName) o); return Objects.equals(this.project, that.project) && Objects.equals(this.dataset, that.dataset) diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ProjectName.java b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ProjectName.java index 658e897596..633c2072ca 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ProjectName.java +++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ProjectName.java @@ -127,7 +127,7 @@ public boolean equals(Object o) { if (o == this) { return true; } - if (o != null || getClass() == o.getClass()) { + if (o != null && getClass() == o.getClass()) { ProjectName that = ((ProjectName) o); return Objects.equals(this.project, that.project); } diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProjectName.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProjectName.java index 22a76a6afd..3e5d15646e 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProjectName.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProjectName.java @@ -127,7 +127,7 @@ public boolean equals(Object o) { if (o == this) { return true; } - if (o != null || getClass() == o.getClass()) { + if (o != null && getClass() == o.getClass()) { ProjectName that = ((ProjectName) o); return Objects.equals(this.project, that.project); } diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamName.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamName.java index 0caff6ae6d..6e831545c6 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamName.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamName.java @@ -174,7 +174,7 @@ public boolean equals(Object o) { if (o == this) { return true; } - if (o != null || getClass() == o.getClass()) { + if (o != null && getClass() == o.getClass()) { ReadStreamName that = ((ReadStreamName) o); return Objects.equals(this.project, that.project) && Objects.equals(this.location, that.location) diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableName.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableName.java index 7a6996c5e8..1d65db7651 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableName.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableName.java @@ -148,7 +148,7 @@ public boolean equals(Object o) { if (o == this) { return true; } - if (o != null || getClass() == o.getClass()) { + if (o != null && getClass() == o.getClass()) { TableName that = ((TableName) o); return Objects.equals(this.project, that.project) && Objects.equals(this.dataset, that.dataset) diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamName.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamName.java index d1d33e0639..ab40230f4a 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamName.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamName.java @@ -174,7 +174,7 @@ public boolean equals(Object o) { if (o == this) { return true; } - if (o != null || getClass() == o.getClass()) { + if (o != null && getClass() == o.getClass()) { WriteStreamName that = ((WriteStreamName) o); return Objects.equals(this.project, that.project) && Objects.equals(this.dataset, that.dataset) From 5144c5ad1e107f96d2003064cd2823982ac0e360 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 12 Sep 2023 21:20:23 +0200 Subject: [PATCH 04/41] deps: update dependency com.google.cloud:google-cloud-bigquery to v2.31.1 (#2225) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * deps: update dependency com.google.cloud:google-cloud-bigquery to v2.31.1 * πŸ¦‰ 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 --- pom.xml | 2 +- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- tutorials/JsonWriterDefaultStream/pom.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 7b64693529..506ee317db 100644 --- a/pom.xml +++ b/pom.xml @@ -132,7 +132,7 @@ com.google.cloud google-cloud-bigquery - 2.31.0 + 2.31.1 test diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 5e275b4148..7d43ae5251 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -37,7 +37,7 @@ com.google.cloud google-cloud-bigquery - 2.31.0 + 2.31.1 org.apache.avro diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index a7e6ebbae6..e85d128844 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -36,7 +36,7 @@ com.google.cloud google-cloud-bigquery - 2.31.0 + 2.31.1 org.apache.avro diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index ffc33449dc..b56a0d2ef8 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -48,7 +48,7 @@ com.google.cloud google-cloud-bigquery - 2.31.0 + 2.31.1 org.apache.avro diff --git a/tutorials/JsonWriterDefaultStream/pom.xml b/tutorials/JsonWriterDefaultStream/pom.xml index 078b3448bd..27c24c3ee5 100644 --- a/tutorials/JsonWriterDefaultStream/pom.xml +++ b/tutorials/JsonWriterDefaultStream/pom.xml @@ -24,7 +24,7 @@ com.google.cloud google-cloud-bigquery - 2.31.0 + 2.31.1 org.apache.avro From 8a722b40163d894b05bb42d57b72e478d13c715d Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 12 Sep 2023 21:25:36 +0200 Subject: [PATCH 05/41] chore(deps): update dependency com.google.cloud:libraries-bom to v26.22.0 (#2227) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update dependency com.google.cloud:libraries-bom to v26.22.0 * πŸ¦‰ 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 --- README.md | 2 +- samples/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bdd35abdea..9886667878 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.21.0 + 26.22.0 pom import diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index b56a0d2ef8..b73420ae68 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.cloud libraries-bom - 26.21.0 + 26.22.0 pom import From d5d739fe7624b74584c1272f13635f728fdf53d2 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 12 Sep 2023 21:26:58 +0200 Subject: [PATCH 06/41] deps: update actions/checkout action to v4 (#2237) --- .github/workflows/ci.yaml | 14 +++++++------- .github/workflows/samples.yaml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 01a5ce1602..a24d32ca91 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,7 +14,7 @@ jobs: matrix: java: [11, 17] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: actions/setup-java@v2 with: distribution: temurin @@ -28,7 +28,7 @@ jobs: name: "units (8)" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: actions/setup-java@v3 with: java-version: 8 @@ -48,7 +48,7 @@ jobs: windows: runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: actions/setup-java@v2 with: distribution: temurin @@ -63,7 +63,7 @@ jobs: matrix: java: [17] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: actions/setup-java@v2 with: distribution: temurin @@ -73,7 +73,7 @@ jobs: javadoc: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: actions/setup-java@v3 with: distribution: temurin @@ -85,7 +85,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: actions/setup-java@v2 with: distribution: temurin @@ -97,7 +97,7 @@ jobs: clirr: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: actions/setup-java@v2 with: distribution: temurin diff --git a/.github/workflows/samples.yaml b/.github/workflows/samples.yaml index 9b1fe1529e..f8455b2212 100644 --- a/.github/workflows/samples.yaml +++ b/.github/workflows/samples.yaml @@ -7,7 +7,7 @@ jobs: checkstyle: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: actions/setup-java@v1 with: java-version: 8 From 91e37303f57ec2e211a375652a8eca8b7d39d1e6 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 12 Sep 2023 21:48:29 +0200 Subject: [PATCH 07/41] deps: update dependency com.google.cloud:google-cloud-bigquery to v2.31.2 (#2241) --- pom.xml | 2 +- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- tutorials/JsonWriterDefaultStream/pom.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 506ee317db..756bac1501 100644 --- a/pom.xml +++ b/pom.xml @@ -132,7 +132,7 @@ com.google.cloud google-cloud-bigquery - 2.31.1 + 2.31.2 test diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 7d43ae5251..2954861f11 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -37,7 +37,7 @@ com.google.cloud google-cloud-bigquery - 2.31.1 + 2.31.2 org.apache.avro diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index e85d128844..d5348f3b0b 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -36,7 +36,7 @@ com.google.cloud google-cloud-bigquery - 2.31.1 + 2.31.2 org.apache.avro diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index b73420ae68..ee60dbdd21 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -48,7 +48,7 @@ com.google.cloud google-cloud-bigquery - 2.31.1 + 2.31.2 org.apache.avro diff --git a/tutorials/JsonWriterDefaultStream/pom.xml b/tutorials/JsonWriterDefaultStream/pom.xml index 27c24c3ee5..23456fd7c3 100644 --- a/tutorials/JsonWriterDefaultStream/pom.xml +++ b/tutorials/JsonWriterDefaultStream/pom.xml @@ -24,7 +24,7 @@ com.google.cloud google-cloud-bigquery - 2.31.1 + 2.31.2 org.apache.avro From df52fcc47621e4c13ef387d4cccecc4dab061f70 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 12 Sep 2023 21:49:33 +0200 Subject: [PATCH 08/41] chore(deps): update dependency com.google.cloud:google-cloud-bigquerystorage to v2.41.1 (#2224) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update dependency com.google.cloud:google-cloud-bigquerystorage to v2.41.1 * πŸ¦‰ 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 --- README.md | 2 +- samples/install-without-bom/pom.xml | 2 +- tutorials/JsonWriterDefaultStream/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9886667878..69734cd435 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerystorage - 2.41.0 + 2.41.1 ``` diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 2954861f11..84b6a4f1aa 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -30,7 +30,7 @@ com.google.cloud google-cloud-bigquerystorage - 2.41.0 + 2.41.1 diff --git a/tutorials/JsonWriterDefaultStream/pom.xml b/tutorials/JsonWriterDefaultStream/pom.xml index 23456fd7c3..80ebaa042f 100644 --- a/tutorials/JsonWriterDefaultStream/pom.xml +++ b/tutorials/JsonWriterDefaultStream/pom.xml @@ -19,7 +19,7 @@ com.google.cloud google-cloud-bigquerystorage - 2.41.0 + 2.41.1 com.google.cloud From 76fac082f2d92053299b96cc8d94185dea232058 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 12 Sep 2023 18:47:00 -0400 Subject: [PATCH 09/41] chore(main): release 2.41.2-SNAPSHOT (#2223) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- google-cloud-bigquerystorage-bom/pom.xml | 16 ++++++++-------- google-cloud-bigquerystorage/pom.xml | 4 ++-- grpc-google-cloud-bigquerystorage-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- pom.xml | 16 ++++++++-------- proto-google-cloud-bigquerystorage-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 14 +++++++------- 11 files changed, 38 insertions(+), 38 deletions(-) diff --git a/google-cloud-bigquerystorage-bom/pom.xml b/google-cloud-bigquerystorage-bom/pom.xml index 656e245ae2..c223d4ce89 100644 --- a/google-cloud-bigquerystorage-bom/pom.xml +++ b/google-cloud-bigquerystorage-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigquerystorage-bom - 2.41.1 + 2.41.2-SNAPSHOT pom com.google.cloud @@ -52,37 +52,37 @@ com.google.cloud google-cloud-bigquerystorage - 2.41.1 + 2.41.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.165.1 + 0.165.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.165.1 + 0.165.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.41.1 + 2.41.2-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.165.1 + 0.165.2-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.165.1 + 0.165.2-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.41.1 + 2.41.2-SNAPSHOT diff --git a/google-cloud-bigquerystorage/pom.xml b/google-cloud-bigquerystorage/pom.xml index 9ec694162d..3487aebfe1 100644 --- a/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-bigquerystorage/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigquerystorage - 2.41.1 + 2.41.2-SNAPSHOT jar BigQuery Storage https://github.com/googleapis/java-bigquerystorage @@ -11,7 +11,7 @@ com.google.cloud google-cloud-bigquerystorage-parent - 2.41.1 + 2.41.2-SNAPSHOT google-cloud-bigquerystorage diff --git a/grpc-google-cloud-bigquerystorage-v1/pom.xml b/grpc-google-cloud-bigquerystorage-v1/pom.xml index 7540ce6f19..41c492fc51 100644 --- a/grpc-google-cloud-bigquerystorage-v1/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.41.1 + 2.41.2-SNAPSHOT grpc-google-cloud-bigquerystorage-v1 GRPC library for grpc-google-cloud-bigquerystorage-v1 com.google.cloud google-cloud-bigquerystorage-parent - 2.41.1 + 2.41.2-SNAPSHOT diff --git a/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml b/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml index 8dcbb82e2f..65790d5366 100644 --- a/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.165.1 + 0.165.2-SNAPSHOT grpc-google-cloud-bigquerystorage-v1beta1 GRPC library for grpc-google-cloud-bigquerystorage-v1beta1 com.google.cloud google-cloud-bigquerystorage-parent - 2.41.1 + 2.41.2-SNAPSHOT diff --git a/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml b/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml index d5b61b0841..181fc53b38 100644 --- a/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.165.1 + 0.165.2-SNAPSHOT grpc-google-cloud-bigquerystorage-v1beta2 GRPC library for grpc-google-cloud-bigquerystorage-v1beta2 com.google.cloud google-cloud-bigquerystorage-parent - 2.41.1 + 2.41.2-SNAPSHOT diff --git a/pom.xml b/pom.xml index 756bac1501..2212f5ed09 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigquerystorage-parent pom - 2.41.1 + 2.41.2-SNAPSHOT BigQuery Storage Parent https://github.com/googleapis/java-bigquerystorage @@ -83,37 +83,37 @@ com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.165.1 + 0.165.2-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.165.1 + 0.165.2-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.41.1 + 2.41.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.165.1 + 0.165.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.165.1 + 0.165.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.41.1 + 2.41.2-SNAPSHOT com.google.cloud google-cloud-bigquerystorage - 2.41.1 + 2.41.2-SNAPSHOT org.json diff --git a/proto-google-cloud-bigquerystorage-v1/pom.xml b/proto-google-cloud-bigquerystorage-v1/pom.xml index 854e211696..f69a5ce6e7 100644 --- a/proto-google-cloud-bigquerystorage-v1/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.41.1 + 2.41.2-SNAPSHOT proto-google-cloud-bigquerystorage-v1 PROTO library for proto-google-cloud-bigquerystorage-v1 com.google.cloud google-cloud-bigquerystorage-parent - 2.41.1 + 2.41.2-SNAPSHOT diff --git a/proto-google-cloud-bigquerystorage-v1beta1/pom.xml b/proto-google-cloud-bigquerystorage-v1beta1/pom.xml index b542eeeff3..59a462ecde 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.165.1 + 0.165.2-SNAPSHOT proto-google-cloud-bigquerystorage-v1beta1 PROTO library for proto-google-cloud-bigquerystorage-v1beta1 com.google.cloud google-cloud-bigquerystorage-parent - 2.41.1 + 2.41.2-SNAPSHOT diff --git a/proto-google-cloud-bigquerystorage-v1beta2/pom.xml b/proto-google-cloud-bigquerystorage-v1beta2/pom.xml index 981c3703d4..fa888dcc3a 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.165.1 + 0.165.2-SNAPSHOT proto-google-cloud-bigquerystorage-v1beta2 PROTO library for proto-google-cloud-bigquerystorage-v1beta2 com.google.cloud google-cloud-bigquerystorage-parent - 2.41.1 + 2.41.2-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index d5348f3b0b..46f277f1e0 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-bigquerystorage - 2.41.1 + 2.41.2-SNAPSHOT diff --git a/versions.txt b/versions.txt index 1074250d92..e1afd54acd 100644 --- a/versions.txt +++ b/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -google-cloud-bigquerystorage:2.41.1:2.41.1 -grpc-google-cloud-bigquerystorage-v1beta1:0.165.1:0.165.1 -grpc-google-cloud-bigquerystorage-v1beta2:0.165.1:0.165.1 -grpc-google-cloud-bigquerystorage-v1:2.41.1:2.41.1 -proto-google-cloud-bigquerystorage-v1beta1:0.165.1:0.165.1 -proto-google-cloud-bigquerystorage-v1beta2:0.165.1:0.165.1 -proto-google-cloud-bigquerystorage-v1:2.41.1:2.41.1 +google-cloud-bigquerystorage:2.41.1:2.41.2-SNAPSHOT +grpc-google-cloud-bigquerystorage-v1beta1:0.165.1:0.165.2-SNAPSHOT +grpc-google-cloud-bigquerystorage-v1beta2:0.165.1:0.165.2-SNAPSHOT +grpc-google-cloud-bigquerystorage-v1:2.41.1:2.41.2-SNAPSHOT +proto-google-cloud-bigquerystorage-v1beta1:0.165.1:0.165.2-SNAPSHOT +proto-google-cloud-bigquerystorage-v1beta2:0.165.1:0.165.2-SNAPSHOT +proto-google-cloud-bigquerystorage-v1:2.41.1:2.41.2-SNAPSHOT From ac45c2aa189fa0cba05f88486f44d3b1d6f761ca Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 13 Sep 2023 16:56:15 +0200 Subject: [PATCH 10/41] deps: update arrow.version to v13 (#2234) --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 84b6a4f1aa..cd74cb9e3c 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -21,7 +21,7 @@ 1.8 1.8 UTF-8 - 12.0.1 + 13.0.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 46f277f1e0..9a5c789a14 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -21,7 +21,7 @@ 1.8 1.8 UTF-8 - 12.0.1 + 13.0.0 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index ee60dbdd21..131b23a1a0 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -21,7 +21,7 @@ 1.8 1.8 UTF-8 - 12.0.1 + 13.0.0 From 7e50bef3fa3c92c94aeefedca0ae87c5132bb1be Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 13 Sep 2023 16:56:29 +0200 Subject: [PATCH 11/41] deps: update dependency org.apache.arrow:arrow-memory-netty to v13 (#2235) --- tutorials/JsonWriterDefaultStream/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/JsonWriterDefaultStream/pom.xml b/tutorials/JsonWriterDefaultStream/pom.xml index 80ebaa042f..186b9ab083 100644 --- a/tutorials/JsonWriterDefaultStream/pom.xml +++ b/tutorials/JsonWriterDefaultStream/pom.xml @@ -39,7 +39,7 @@ org.apache.arrow arrow-memory-netty - 12.0.1 + 13.0.0 From 2e1849f987af50f42dbd9d11669e57ed0ef23f4e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 13 Sep 2023 15:16:09 -0400 Subject: [PATCH 12/41] chore(main): release 2.42.0 (#2242) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- CHANGELOG.md | 23 +++++++++++++++++++ google-cloud-bigquerystorage-bom/pom.xml | 16 ++++++------- google-cloud-bigquerystorage/pom.xml | 4 ++-- grpc-google-cloud-bigquerystorage-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- pom.xml | 16 ++++++------- proto-google-cloud-bigquerystorage-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 14 +++++------ 12 files changed, 61 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef780723db..eda5a26398 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## [2.42.0](https://github.com/googleapis/java-bigquerystorage/compare/v2.41.1...v2.42.0) (2023-09-13) + + +### Features + +* Add default_missing_value_interpretation field; indicate KMS_SERVICE_ERROR is retryable ([#2229](https://github.com/googleapis/java-bigquerystorage/issues/2229)) ([df686d6](https://github.com/googleapis/java-bigquerystorage/commit/df686d6ac51d182b52dbd1f5a69585bb605e9b94)) +* Expose settings to configure default missing value interpretation. ([#2230](https://github.com/googleapis/java-bigquerystorage/issues/2230)) ([dc5ed73](https://github.com/googleapis/java-bigquerystorage/commit/dc5ed73f513a77939286d3c129fc26f039c23d5c)) + + +### Bug Fixes + +* Populate final stauts to initial request during connection shutdown ([#2228](https://github.com/googleapis/java-bigquerystorage/issues/2228)) ([9b9b5c0](https://github.com/googleapis/java-bigquerystorage/commit/9b9b5c09d7bc458493338eced8527a168fff0129)) + + +### Dependencies + +* Update actions/checkout action to v4 ([#2237](https://github.com/googleapis/java-bigquerystorage/issues/2237)) ([d5d739f](https://github.com/googleapis/java-bigquerystorage/commit/d5d739fe7624b74584c1272f13635f728fdf53d2)) +* Update arrow.version to v13 ([#2234](https://github.com/googleapis/java-bigquerystorage/issues/2234)) ([ac45c2a](https://github.com/googleapis/java-bigquerystorage/commit/ac45c2aa189fa0cba05f88486f44d3b1d6f761ca)) +* Update dependency com.google.cloud:google-cloud-bigquery to v2.31.1 ([#2225](https://github.com/googleapis/java-bigquerystorage/issues/2225)) ([5144c5a](https://github.com/googleapis/java-bigquerystorage/commit/5144c5ad1e107f96d2003064cd2823982ac0e360)) +* Update dependency com.google.cloud:google-cloud-bigquery to v2.31.2 ([#2241](https://github.com/googleapis/java-bigquerystorage/issues/2241)) ([91e3730](https://github.com/googleapis/java-bigquerystorage/commit/91e37303f57ec2e211a375652a8eca8b7d39d1e6)) +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.15.0 ([#2239](https://github.com/googleapis/java-bigquerystorage/issues/2239)) ([5352a7d](https://github.com/googleapis/java-bigquerystorage/commit/5352a7d7e1d7b01a33936adf7e204c5f49f0c230)) +* Update dependency org.apache.arrow:arrow-memory-netty to v13 ([#2235](https://github.com/googleapis/java-bigquerystorage/issues/2235)) ([7e50bef](https://github.com/googleapis/java-bigquerystorage/commit/7e50bef3fa3c92c94aeefedca0ae87c5132bb1be)) + ## [2.41.1](https://github.com/googleapis/java-bigquerystorage/compare/v2.41.0...v2.41.1) (2023-08-08) diff --git a/google-cloud-bigquerystorage-bom/pom.xml b/google-cloud-bigquerystorage-bom/pom.xml index c223d4ce89..1e3ee5ebef 100644 --- a/google-cloud-bigquerystorage-bom/pom.xml +++ b/google-cloud-bigquerystorage-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigquerystorage-bom - 2.41.2-SNAPSHOT + 2.42.0 pom com.google.cloud @@ -52,37 +52,37 @@ com.google.cloud google-cloud-bigquerystorage - 2.41.2-SNAPSHOT + 2.42.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.165.2-SNAPSHOT + 0.166.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.165.2-SNAPSHOT + 0.166.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.41.2-SNAPSHOT + 2.42.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.165.2-SNAPSHOT + 0.166.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.165.2-SNAPSHOT + 0.166.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.41.2-SNAPSHOT + 2.42.0 diff --git a/google-cloud-bigquerystorage/pom.xml b/google-cloud-bigquerystorage/pom.xml index 3487aebfe1..3fc6f6b179 100644 --- a/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-bigquerystorage/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigquerystorage - 2.41.2-SNAPSHOT + 2.42.0 jar BigQuery Storage https://github.com/googleapis/java-bigquerystorage @@ -11,7 +11,7 @@ com.google.cloud google-cloud-bigquerystorage-parent - 2.41.2-SNAPSHOT + 2.42.0 google-cloud-bigquerystorage diff --git a/grpc-google-cloud-bigquerystorage-v1/pom.xml b/grpc-google-cloud-bigquerystorage-v1/pom.xml index 41c492fc51..104a862cc7 100644 --- a/grpc-google-cloud-bigquerystorage-v1/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.41.2-SNAPSHOT + 2.42.0 grpc-google-cloud-bigquerystorage-v1 GRPC library for grpc-google-cloud-bigquerystorage-v1 com.google.cloud google-cloud-bigquerystorage-parent - 2.41.2-SNAPSHOT + 2.42.0 diff --git a/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml b/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml index 65790d5366..4d655d8b6d 100644 --- a/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.165.2-SNAPSHOT + 0.166.0 grpc-google-cloud-bigquerystorage-v1beta1 GRPC library for grpc-google-cloud-bigquerystorage-v1beta1 com.google.cloud google-cloud-bigquerystorage-parent - 2.41.2-SNAPSHOT + 2.42.0 diff --git a/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml b/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml index 181fc53b38..636b84da8c 100644 --- a/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.165.2-SNAPSHOT + 0.166.0 grpc-google-cloud-bigquerystorage-v1beta2 GRPC library for grpc-google-cloud-bigquerystorage-v1beta2 com.google.cloud google-cloud-bigquerystorage-parent - 2.41.2-SNAPSHOT + 2.42.0 diff --git a/pom.xml b/pom.xml index 2212f5ed09..200f41c268 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigquerystorage-parent pom - 2.41.2-SNAPSHOT + 2.42.0 BigQuery Storage Parent https://github.com/googleapis/java-bigquerystorage @@ -83,37 +83,37 @@ com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.165.2-SNAPSHOT + 0.166.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.165.2-SNAPSHOT + 0.166.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.41.2-SNAPSHOT + 2.42.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.165.2-SNAPSHOT + 0.166.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.165.2-SNAPSHOT + 0.166.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.41.2-SNAPSHOT + 2.42.0 com.google.cloud google-cloud-bigquerystorage - 2.41.2-SNAPSHOT + 2.42.0 org.json diff --git a/proto-google-cloud-bigquerystorage-v1/pom.xml b/proto-google-cloud-bigquerystorage-v1/pom.xml index f69a5ce6e7..f257d98892 100644 --- a/proto-google-cloud-bigquerystorage-v1/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.41.2-SNAPSHOT + 2.42.0 proto-google-cloud-bigquerystorage-v1 PROTO library for proto-google-cloud-bigquerystorage-v1 com.google.cloud google-cloud-bigquerystorage-parent - 2.41.2-SNAPSHOT + 2.42.0 diff --git a/proto-google-cloud-bigquerystorage-v1beta1/pom.xml b/proto-google-cloud-bigquerystorage-v1beta1/pom.xml index 59a462ecde..0f83c19e9e 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.165.2-SNAPSHOT + 0.166.0 proto-google-cloud-bigquerystorage-v1beta1 PROTO library for proto-google-cloud-bigquerystorage-v1beta1 com.google.cloud google-cloud-bigquerystorage-parent - 2.41.2-SNAPSHOT + 2.42.0 diff --git a/proto-google-cloud-bigquerystorage-v1beta2/pom.xml b/proto-google-cloud-bigquerystorage-v1beta2/pom.xml index fa888dcc3a..7ee1cc91c7 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.165.2-SNAPSHOT + 0.166.0 proto-google-cloud-bigquerystorage-v1beta2 PROTO library for proto-google-cloud-bigquerystorage-v1beta2 com.google.cloud google-cloud-bigquerystorage-parent - 2.41.2-SNAPSHOT + 2.42.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 9a5c789a14..2a146fbdfb 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-bigquerystorage - 2.41.2-SNAPSHOT + 2.42.0 diff --git a/versions.txt b/versions.txt index e1afd54acd..9f6dc1a878 100644 --- a/versions.txt +++ b/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -google-cloud-bigquerystorage:2.41.1:2.41.2-SNAPSHOT -grpc-google-cloud-bigquerystorage-v1beta1:0.165.1:0.165.2-SNAPSHOT -grpc-google-cloud-bigquerystorage-v1beta2:0.165.1:0.165.2-SNAPSHOT -grpc-google-cloud-bigquerystorage-v1:2.41.1:2.41.2-SNAPSHOT -proto-google-cloud-bigquerystorage-v1beta1:0.165.1:0.165.2-SNAPSHOT -proto-google-cloud-bigquerystorage-v1beta2:0.165.1:0.165.2-SNAPSHOT -proto-google-cloud-bigquerystorage-v1:2.41.1:2.41.2-SNAPSHOT +google-cloud-bigquerystorage:2.42.0:2.42.0 +grpc-google-cloud-bigquerystorage-v1beta1:0.166.0:0.166.0 +grpc-google-cloud-bigquerystorage-v1beta2:0.166.0:0.166.0 +grpc-google-cloud-bigquerystorage-v1:2.42.0:2.42.0 +proto-google-cloud-bigquerystorage-v1beta1:0.166.0:0.166.0 +proto-google-cloud-bigquerystorage-v1beta2:0.166.0:0.166.0 +proto-google-cloud-bigquerystorage-v1:2.42.0:2.42.0 From afde7ce1f48f1c7cdd4b06d4aabdaac9d367aa50 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 19 Sep 2023 15:49:59 +0200 Subject: [PATCH 13/41] deps: update dependency org.apache.arrow:arrow-vector to v13 (#2236) --- tutorials/JsonWriterDefaultStream/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/JsonWriterDefaultStream/pom.xml b/tutorials/JsonWriterDefaultStream/pom.xml index 186b9ab083..5534aea16c 100644 --- a/tutorials/JsonWriterDefaultStream/pom.xml +++ b/tutorials/JsonWriterDefaultStream/pom.xml @@ -34,7 +34,7 @@ org.apache.arrow arrow-vector - 12.0.1 + 13.0.0 org.apache.arrow From b7f809c5bddc4071f0f4b64f0d05b5ac76fec562 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 19 Sep 2023 15:50:28 +0200 Subject: [PATCH 14/41] chore(deps): update dependency com.google.cloud:google-cloud-bigquerystorage to v2.42.0 (#2245) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update dependency com.google.cloud:google-cloud-bigquerystorage to v2.42.0 * πŸ¦‰ 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 --- README.md | 8 ++++---- samples/install-without-bom/pom.xml | 2 +- tutorials/JsonWriterDefaultStream/pom.xml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 69734cd435..f579a3b177 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerystorage - 2.41.1 + 2.42.0 ``` @@ -57,13 +57,13 @@ 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.41.1' +implementation 'com.google.cloud:google-cloud-bigquerystorage:2.42.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "2.41.1" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "2.42.0" ``` @@ -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.41.1 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerystorage/2.42.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 diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index cd74cb9e3c..17d0292ca7 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -30,7 +30,7 @@ com.google.cloud google-cloud-bigquerystorage - 2.41.1 + 2.42.0 diff --git a/tutorials/JsonWriterDefaultStream/pom.xml b/tutorials/JsonWriterDefaultStream/pom.xml index 5534aea16c..662628962c 100644 --- a/tutorials/JsonWriterDefaultStream/pom.xml +++ b/tutorials/JsonWriterDefaultStream/pom.xml @@ -19,7 +19,7 @@ com.google.cloud google-cloud-bigquerystorage - 2.41.1 + 2.42.0 com.google.cloud From 8302029dd9575dec37fbefba76c5a88800e528f5 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 19 Sep 2023 15:50:55 +0200 Subject: [PATCH 15/41] build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.6.0 (#2248) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.6.0 * πŸ¦‰ 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 --- README.md | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f579a3b177..ecc588b795 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ 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.22.0') +implementation platform('com.google.cloud:libraries-bom:26.23.0') implementation 'com.google.cloud:google-cloud-bigquerystorage' ``` diff --git a/pom.xml b/pom.xml index 200f41c268..f0e8f529dc 100644 --- a/pom.xml +++ b/pom.xml @@ -216,7 +216,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.5.0 + 3.6.0 html From ebedcc07e400429fc6b80a4ad0543fe25eef970d Mon Sep 17 00:00:00 2001 From: Yiru Tang Date: Mon, 25 Sep 2023 15:23:35 -0700 Subject: [PATCH 16/41] feat: add sample code about default missingValueInterpretation (#2249) * feat: add sample code about default missingValueInterpretation * . --- .../com/example/bigquerystorage/WriteToDefaultStream.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/samples/snippets/src/main/java/com/example/bigquerystorage/WriteToDefaultStream.java b/samples/snippets/src/main/java/com/example/bigquerystorage/WriteToDefaultStream.java index 9b831e45df..feccef61f0 100644 --- a/samples/snippets/src/main/java/com/example/bigquerystorage/WriteToDefaultStream.java +++ b/samples/snippets/src/main/java/com/example/bigquerystorage/WriteToDefaultStream.java @@ -26,6 +26,7 @@ import com.google.cloud.bigquery.BigQueryOptions; import com.google.cloud.bigquery.QueryJobConfiguration; import com.google.cloud.bigquery.TableResult; +import com.google.cloud.bigquery.storage.v1.AppendRowsRequest; import com.google.cloud.bigquery.storage.v1.AppendRowsResponse; import com.google.cloud.bigquery.storage.v1.BigQueryWriteClient; import com.google.cloud.bigquery.storage.v1.BigQueryWriteSettings; @@ -178,6 +179,10 @@ public void initialize(TableName parentTable) .setChannelsPerCpu(2) .build()) .setEnableConnectionPool(true) + // If value is missing in json and there is a default value configured on bigquery + // column, apply the default value to the missing value field. + .setDefaultMissingValueInterpretation( + AppendRowsRequest.MissingValueInterpretation.DEFAULT_VALUE) .build(); } From 10b615b49ba8889f7d051ac03d4751ace82b6823 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 26 Sep 2023 22:03:08 +0200 Subject: [PATCH 17/41] deps: update dependency org.apache.avro:avro to v1.11.3 (#2252) --- google-cloud-bigquerystorage/pom.xml | 2 +- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- tutorials/JsonWriterDefaultStream/pom.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/google-cloud-bigquerystorage/pom.xml b/google-cloud-bigquerystorage/pom.xml index 3fc6f6b179..6086e09635 100644 --- a/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-bigquerystorage/pom.xml @@ -178,7 +178,7 @@ org.apache.avro avro - 1.11.2 + 1.11.3 test diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 17d0292ca7..32237861b1 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -42,7 +42,7 @@ org.apache.avro avro - 1.11.2 + 1.11.3 org.apache.arrow diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 2a146fbdfb..d845f8b106 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -41,7 +41,7 @@ org.apache.avro avro - 1.11.2 + 1.11.3 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 131b23a1a0..03d487de77 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -53,7 +53,7 @@ org.apache.avro avro - 1.11.2 + 1.11.3 org.apache.arrow diff --git a/tutorials/JsonWriterDefaultStream/pom.xml b/tutorials/JsonWriterDefaultStream/pom.xml index 662628962c..f1faf6686f 100644 --- a/tutorials/JsonWriterDefaultStream/pom.xml +++ b/tutorials/JsonWriterDefaultStream/pom.xml @@ -29,7 +29,7 @@ org.apache.avro avro - 1.11.2 + 1.11.3 org.apache.arrow From 182e050d9929f9fb58694e76625b03bb54f67efe Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 26 Sep 2023 22:03:19 +0200 Subject: [PATCH 18/41] deps: update actions/checkout digest to 8ade135 (#2251) --- .github/workflows/ci.yaml | 14 +++++++------- .github/workflows/samples.yaml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a24d32ca91..23304dfc39 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,7 +14,7 @@ jobs: matrix: java: [11, 17] steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 - uses: actions/setup-java@v2 with: distribution: temurin @@ -28,7 +28,7 @@ jobs: name: "units (8)" runs-on: ubuntu-latest steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 - uses: actions/setup-java@v3 with: java-version: 8 @@ -48,7 +48,7 @@ jobs: windows: runs-on: windows-latest steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 - uses: actions/setup-java@v2 with: distribution: temurin @@ -63,7 +63,7 @@ jobs: matrix: java: [17] steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 - uses: actions/setup-java@v2 with: distribution: temurin @@ -73,7 +73,7 @@ jobs: javadoc: runs-on: ubuntu-latest steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 - uses: actions/setup-java@v3 with: distribution: temurin @@ -85,7 +85,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 - uses: actions/setup-java@v2 with: distribution: temurin @@ -97,7 +97,7 @@ jobs: clirr: runs-on: ubuntu-latest steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 - uses: actions/setup-java@v2 with: distribution: temurin diff --git a/.github/workflows/samples.yaml b/.github/workflows/samples.yaml index f8455b2212..7ddc641ac4 100644 --- a/.github/workflows/samples.yaml +++ b/.github/workflows/samples.yaml @@ -7,7 +7,7 @@ jobs: checkstyle: runs-on: ubuntu-latest steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 - uses: actions/setup-java@v1 with: java-version: 8 From a6bf21f7265eabd807d898fcf1dea3f37f1bd18a Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 26 Sep 2023 22:52:05 +0200 Subject: [PATCH 19/41] chore(deps): update dependency com.google.cloud:libraries-bom to v26.23.0 (#2247) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update dependency com.google.cloud:libraries-bom to v26.23.0 * πŸ¦‰ 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 --- README.md | 2 +- samples/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ecc588b795..cf693685ce 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.22.0 + 26.23.0 pom import diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 03d487de77..98cc5ed824 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.cloud libraries-bom - 26.22.0 + 26.23.0 pom import From 11fdc004197e7bdcafab04d9f7561fe11ea5a88c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 26 Sep 2023 16:52:25 -0400 Subject: [PATCH 20/41] chore(main): release 2.42.1-SNAPSHOT (#2244) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- google-cloud-bigquerystorage-bom/pom.xml | 16 ++++++++-------- google-cloud-bigquerystorage/pom.xml | 4 ++-- grpc-google-cloud-bigquerystorage-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- pom.xml | 16 ++++++++-------- proto-google-cloud-bigquerystorage-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 14 +++++++------- 11 files changed, 38 insertions(+), 38 deletions(-) diff --git a/google-cloud-bigquerystorage-bom/pom.xml b/google-cloud-bigquerystorage-bom/pom.xml index 1e3ee5ebef..02b9a31d5b 100644 --- a/google-cloud-bigquerystorage-bom/pom.xml +++ b/google-cloud-bigquerystorage-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigquerystorage-bom - 2.42.0 + 2.42.1-SNAPSHOT pom com.google.cloud @@ -52,37 +52,37 @@ com.google.cloud google-cloud-bigquerystorage - 2.42.0 + 2.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.166.0 + 0.166.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.166.0 + 0.166.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.42.0 + 2.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.166.0 + 0.166.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.166.0 + 0.166.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.42.0 + 2.42.1-SNAPSHOT diff --git a/google-cloud-bigquerystorage/pom.xml b/google-cloud-bigquerystorage/pom.xml index 6086e09635..b3699d6767 100644 --- a/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-bigquerystorage/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigquerystorage - 2.42.0 + 2.42.1-SNAPSHOT jar BigQuery Storage https://github.com/googleapis/java-bigquerystorage @@ -11,7 +11,7 @@ com.google.cloud google-cloud-bigquerystorage-parent - 2.42.0 + 2.42.1-SNAPSHOT google-cloud-bigquerystorage diff --git a/grpc-google-cloud-bigquerystorage-v1/pom.xml b/grpc-google-cloud-bigquerystorage-v1/pom.xml index 104a862cc7..c0b07b7b59 100644 --- a/grpc-google-cloud-bigquerystorage-v1/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.42.0 + 2.42.1-SNAPSHOT grpc-google-cloud-bigquerystorage-v1 GRPC library for grpc-google-cloud-bigquerystorage-v1 com.google.cloud google-cloud-bigquerystorage-parent - 2.42.0 + 2.42.1-SNAPSHOT diff --git a/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml b/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml index 4d655d8b6d..8775cfded0 100644 --- a/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.166.0 + 0.166.1-SNAPSHOT grpc-google-cloud-bigquerystorage-v1beta1 GRPC library for grpc-google-cloud-bigquerystorage-v1beta1 com.google.cloud google-cloud-bigquerystorage-parent - 2.42.0 + 2.42.1-SNAPSHOT diff --git a/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml b/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml index 636b84da8c..43d1ca32dc 100644 --- a/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.166.0 + 0.166.1-SNAPSHOT grpc-google-cloud-bigquerystorage-v1beta2 GRPC library for grpc-google-cloud-bigquerystorage-v1beta2 com.google.cloud google-cloud-bigquerystorage-parent - 2.42.0 + 2.42.1-SNAPSHOT diff --git a/pom.xml b/pom.xml index f0e8f529dc..53ef335504 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigquerystorage-parent pom - 2.42.0 + 2.42.1-SNAPSHOT BigQuery Storage Parent https://github.com/googleapis/java-bigquerystorage @@ -83,37 +83,37 @@ com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.166.0 + 0.166.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.166.0 + 0.166.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.42.0 + 2.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.166.0 + 0.166.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.166.0 + 0.166.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.42.0 + 2.42.1-SNAPSHOT com.google.cloud google-cloud-bigquerystorage - 2.42.0 + 2.42.1-SNAPSHOT org.json diff --git a/proto-google-cloud-bigquerystorage-v1/pom.xml b/proto-google-cloud-bigquerystorage-v1/pom.xml index f257d98892..9fd9ae3eaa 100644 --- a/proto-google-cloud-bigquerystorage-v1/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.42.0 + 2.42.1-SNAPSHOT proto-google-cloud-bigquerystorage-v1 PROTO library for proto-google-cloud-bigquerystorage-v1 com.google.cloud google-cloud-bigquerystorage-parent - 2.42.0 + 2.42.1-SNAPSHOT diff --git a/proto-google-cloud-bigquerystorage-v1beta1/pom.xml b/proto-google-cloud-bigquerystorage-v1beta1/pom.xml index 0f83c19e9e..62e19aa909 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.166.0 + 0.166.1-SNAPSHOT proto-google-cloud-bigquerystorage-v1beta1 PROTO library for proto-google-cloud-bigquerystorage-v1beta1 com.google.cloud google-cloud-bigquerystorage-parent - 2.42.0 + 2.42.1-SNAPSHOT diff --git a/proto-google-cloud-bigquerystorage-v1beta2/pom.xml b/proto-google-cloud-bigquerystorage-v1beta2/pom.xml index 7ee1cc91c7..fe7da6ea92 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.166.0 + 0.166.1-SNAPSHOT proto-google-cloud-bigquerystorage-v1beta2 PROTO library for proto-google-cloud-bigquerystorage-v1beta2 com.google.cloud google-cloud-bigquerystorage-parent - 2.42.0 + 2.42.1-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index d845f8b106..0fe4489f60 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-bigquerystorage - 2.42.0 + 2.42.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index 9f6dc1a878..ec0ff80290 100644 --- a/versions.txt +++ b/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -google-cloud-bigquerystorage:2.42.0:2.42.0 -grpc-google-cloud-bigquerystorage-v1beta1:0.166.0:0.166.0 -grpc-google-cloud-bigquerystorage-v1beta2:0.166.0:0.166.0 -grpc-google-cloud-bigquerystorage-v1:2.42.0:2.42.0 -proto-google-cloud-bigquerystorage-v1beta1:0.166.0:0.166.0 -proto-google-cloud-bigquerystorage-v1beta2:0.166.0:0.166.0 -proto-google-cloud-bigquerystorage-v1:2.42.0:2.42.0 +google-cloud-bigquerystorage:2.42.0:2.42.1-SNAPSHOT +grpc-google-cloud-bigquerystorage-v1beta1:0.166.0:0.166.1-SNAPSHOT +grpc-google-cloud-bigquerystorage-v1beta2:0.166.0:0.166.1-SNAPSHOT +grpc-google-cloud-bigquerystorage-v1:2.42.0:2.42.1-SNAPSHOT +proto-google-cloud-bigquerystorage-v1beta1:0.166.0:0.166.1-SNAPSHOT +proto-google-cloud-bigquerystorage-v1beta2:0.166.0:0.166.1-SNAPSHOT +proto-google-cloud-bigquerystorage-v1:2.42.0:2.42.1-SNAPSHOT From 43d96d288207a607d168f604f190fb28b5eab132 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 27 Sep 2023 03:05:29 +0200 Subject: [PATCH 21/41] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3.16.1 (#2250) * deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3.16.1 * fixes from `dependencies.sh` check --------- Co-authored-by: Diego Marquez --- google-cloud-bigquerystorage/pom.xml | 12 ++++++++---- pom.xml | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/google-cloud-bigquerystorage/pom.xml b/google-cloud-bigquerystorage/pom.xml index b3699d6767..6f4b09e38e 100644 --- a/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-bigquerystorage/pom.xml @@ -68,6 +68,14 @@ io.grpc grpc-protobuf + + io.grpc + grpc-util + + + io.grpc + grpc-util + com.google.api api-common @@ -196,10 +204,6 @@ com.google.code.findbugs jsr305 - - io.grpc - grpc-core - com.google.cloud google-cloud-core diff --git a/pom.xml b/pom.xml index 53ef335504..795f78c2a0 100644 --- a/pom.xml +++ b/pom.xml @@ -76,7 +76,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.15.0 + 3.16.1 pom import From 893fcb9f6c4b2eb9814ea2597fe9aae95367b4cd Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 27 Sep 2023 03:05:55 +0200 Subject: [PATCH 22/41] deps: update dependency com.google.cloud:google-cloud-bigquery to v2.32.0 (#2246) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * deps: update dependency com.google.cloud:google-cloud-bigquery to v2.32.0 * πŸ¦‰ 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 --- pom.xml | 2 +- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- tutorials/JsonWriterDefaultStream/pom.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 795f78c2a0..150d4aada7 100644 --- a/pom.xml +++ b/pom.xml @@ -132,7 +132,7 @@ com.google.cloud google-cloud-bigquery - 2.31.2 + 2.32.0 test diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 32237861b1..b209aa865e 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -37,7 +37,7 @@ com.google.cloud google-cloud-bigquery - 2.31.2 + 2.32.0 org.apache.avro diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 0fe4489f60..6dd5e6e536 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -36,7 +36,7 @@ com.google.cloud google-cloud-bigquery - 2.31.2 + 2.32.0 org.apache.avro diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 98cc5ed824..d519e31fb7 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -48,7 +48,7 @@ com.google.cloud google-cloud-bigquery - 2.31.2 + 2.32.0 org.apache.avro diff --git a/tutorials/JsonWriterDefaultStream/pom.xml b/tutorials/JsonWriterDefaultStream/pom.xml index f1faf6686f..a94d4a5e58 100644 --- a/tutorials/JsonWriterDefaultStream/pom.xml +++ b/tutorials/JsonWriterDefaultStream/pom.xml @@ -24,7 +24,7 @@ com.google.cloud google-cloud-bigquery - 2.31.2 + 2.32.0 org.apache.avro From 3be5a61a7327aeab6681e1af0d49179f0b497040 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 28 Sep 2023 10:53:10 -0400 Subject: [PATCH 23/41] chore(deps): Update gapic-generator-java to 2.26.0 (#2253) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): Update gapic-generator-java to 2.26.0 PiperOrigin-RevId: 567624307 Source-Link: https://github.com/googleapis/googleapis/commit/2ecf4defdf5b4564491e7eee9a4b436b58b29e35 Source-Link: https://github.com/googleapis/googleapis-gen/commit/a5cfbd9a05b3a134e92886114db776fb33cec9f2 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTVjZmJkOWEwNWIzYTEzNGU5Mjg4NjExNGRiNzc2ZmIzM2NlYzlmMiJ9 * πŸ¦‰ 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 --- .../google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java | 7 ++++--- .../cloud/bigquery/storage/v1/BigQueryWriteGrpc.java | 7 ++++--- .../bigquery/storage/v1beta1/BigQueryStorageGrpc.java | 7 ++++--- .../cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java | 7 ++++--- .../cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java | 7 ++++--- 5 files changed, 20 insertions(+), 15 deletions(-) diff --git a/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java b/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java index 1ea103f612..6ceec843a3 100644 --- a/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java +++ b/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java @@ -33,7 +33,8 @@ public final class BigQueryReadGrpc { private BigQueryReadGrpc() {} - public static final String SERVICE_NAME = "google.cloud.bigquery.storage.v1.BigQueryRead"; + public static final java.lang.String SERVICE_NAME = + "google.cloud.bigquery.storage.v1.BigQueryRead"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor< @@ -688,9 +689,9 @@ private static final class BigQueryReadFileDescriptorSupplier private static final class BigQueryReadMethodDescriptorSupplier extends BigQueryReadBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; + private final java.lang.String methodName; - BigQueryReadMethodDescriptorSupplier(String methodName) { + BigQueryReadMethodDescriptorSupplier(java.lang.String methodName) { this.methodName = methodName; } diff --git a/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteGrpc.java b/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteGrpc.java index 1553527690..c7cdb491df 100644 --- a/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteGrpc.java +++ b/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteGrpc.java @@ -35,7 +35,8 @@ public final class BigQueryWriteGrpc { private BigQueryWriteGrpc() {} - public static final String SERVICE_NAME = "google.cloud.bigquery.storage.v1.BigQueryWrite"; + public static final java.lang.String SERVICE_NAME = + "google.cloud.bigquery.storage.v1.BigQueryWrite"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor< @@ -1048,9 +1049,9 @@ private static final class BigQueryWriteFileDescriptorSupplier private static final class BigQueryWriteMethodDescriptorSupplier extends BigQueryWriteBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; + private final java.lang.String methodName; - BigQueryWriteMethodDescriptorSupplier(String methodName) { + BigQueryWriteMethodDescriptorSupplier(java.lang.String methodName) { this.methodName = methodName; } diff --git a/grpc-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java b/grpc-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java index 6a31e3f930..a155b259c0 100644 --- a/grpc-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java +++ b/grpc-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java @@ -37,7 +37,8 @@ public final class BigQueryStorageGrpc { private BigQueryStorageGrpc() {} - public static final String SERVICE_NAME = "google.cloud.bigquery.storage.v1beta1.BigQueryStorage"; + public static final java.lang.String SERVICE_NAME = + "google.cloud.bigquery.storage.v1beta1.BigQueryStorage"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor< @@ -1021,9 +1022,9 @@ private static final class BigQueryStorageFileDescriptorSupplier private static final class BigQueryStorageMethodDescriptorSupplier extends BigQueryStorageBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; + private final java.lang.String methodName; - BigQueryStorageMethodDescriptorSupplier(String methodName) { + BigQueryStorageMethodDescriptorSupplier(java.lang.String methodName) { this.methodName = methodName; } diff --git a/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java b/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java index fd1a8ffea4..2fcee009d6 100644 --- a/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java +++ b/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java @@ -35,7 +35,8 @@ public final class BigQueryReadGrpc { private BigQueryReadGrpc() {} - public static final String SERVICE_NAME = "google.cloud.bigquery.storage.v1beta2.BigQueryRead"; + public static final java.lang.String SERVICE_NAME = + "google.cloud.bigquery.storage.v1beta2.BigQueryRead"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor< @@ -704,9 +705,9 @@ private static final class BigQueryReadFileDescriptorSupplier private static final class BigQueryReadMethodDescriptorSupplier extends BigQueryReadBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; + private final java.lang.String methodName; - BigQueryReadMethodDescriptorSupplier(String methodName) { + BigQueryReadMethodDescriptorSupplier(java.lang.String methodName) { this.methodName = methodName; } diff --git a/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java b/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java index 66f30d21ef..9583e9c365 100644 --- a/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java +++ b/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java @@ -36,7 +36,8 @@ public final class BigQueryWriteGrpc { private BigQueryWriteGrpc() {} - public static final String SERVICE_NAME = "google.cloud.bigquery.storage.v1beta2.BigQueryWrite"; + public static final java.lang.String SERVICE_NAME = + "google.cloud.bigquery.storage.v1beta2.BigQueryWrite"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor< @@ -1044,9 +1045,9 @@ private static final class BigQueryWriteFileDescriptorSupplier private static final class BigQueryWriteMethodDescriptorSupplier extends BigQueryWriteBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; + private final java.lang.String methodName; - BigQueryWriteMethodDescriptorSupplier(String methodName) { + BigQueryWriteMethodDescriptorSupplier(java.lang.String methodName) { this.methodName = methodName; } From 7689dee5f70a144efb9eb9be1a058d11d7e3c05d Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 28 Sep 2023 17:01:03 +0200 Subject: [PATCH 24/41] deps: update dependency com.google.cloud:google-cloud-bigquery to v2.33.0 (#2255) --- pom.xml | 2 +- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- tutorials/JsonWriterDefaultStream/pom.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 150d4aada7..2ff78a1ec2 100644 --- a/pom.xml +++ b/pom.xml @@ -132,7 +132,7 @@ com.google.cloud google-cloud-bigquery - 2.32.0 + 2.33.0 test diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index b209aa865e..018797ad11 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -37,7 +37,7 @@ com.google.cloud google-cloud-bigquery - 2.32.0 + 2.33.0 org.apache.avro diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 6dd5e6e536..d4cebbfefe 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -36,7 +36,7 @@ com.google.cloud google-cloud-bigquery - 2.32.0 + 2.33.0 org.apache.avro diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index d519e31fb7..f989f01286 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -48,7 +48,7 @@ com.google.cloud google-cloud-bigquery - 2.32.0 + 2.33.0 org.apache.avro diff --git a/tutorials/JsonWriterDefaultStream/pom.xml b/tutorials/JsonWriterDefaultStream/pom.xml index a94d4a5e58..d2d9302547 100644 --- a/tutorials/JsonWriterDefaultStream/pom.xml +++ b/tutorials/JsonWriterDefaultStream/pom.xml @@ -24,7 +24,7 @@ com.google.cloud google-cloud-bigquery - 2.32.0 + 2.33.0 org.apache.avro From 5df548a4274804cbf12b44f99d175bacdcfcc1f2 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 28 Sep 2023 12:15:05 -0400 Subject: [PATCH 25/41] chore(main): release 2.43.0 (#2254) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- CHANGELOG.md | 17 +++++++++++++++++ google-cloud-bigquerystorage-bom/pom.xml | 16 ++++++++-------- google-cloud-bigquerystorage/pom.xml | 4 ++-- grpc-google-cloud-bigquerystorage-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- pom.xml | 16 ++++++++-------- proto-google-cloud-bigquerystorage-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 14 +++++++------- 12 files changed, 55 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eda5a26398..5fcba38dc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [2.43.0](https://github.com/googleapis/java-bigquerystorage/compare/v2.42.0...v2.43.0) (2023-09-28) + + +### Features + +* Add sample code about default missingValueInterpretation ([#2249](https://github.com/googleapis/java-bigquerystorage/issues/2249)) ([ebedcc0](https://github.com/googleapis/java-bigquerystorage/commit/ebedcc07e400429fc6b80a4ad0543fe25eef970d)) + + +### Dependencies + +* Update actions/checkout digest to 8ade135 ([#2251](https://github.com/googleapis/java-bigquerystorage/issues/2251)) ([182e050](https://github.com/googleapis/java-bigquerystorage/commit/182e050d9929f9fb58694e76625b03bb54f67efe)) +* Update dependency com.google.cloud:google-cloud-bigquery to v2.32.0 ([#2246](https://github.com/googleapis/java-bigquerystorage/issues/2246)) ([893fcb9](https://github.com/googleapis/java-bigquerystorage/commit/893fcb9f6c4b2eb9814ea2597fe9aae95367b4cd)) +* Update dependency com.google.cloud:google-cloud-bigquery to v2.33.0 ([#2255](https://github.com/googleapis/java-bigquerystorage/issues/2255)) ([7689dee](https://github.com/googleapis/java-bigquerystorage/commit/7689dee5f70a144efb9eb9be1a058d11d7e3c05d)) +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.16.1 ([#2250](https://github.com/googleapis/java-bigquerystorage/issues/2250)) ([43d96d2](https://github.com/googleapis/java-bigquerystorage/commit/43d96d288207a607d168f604f190fb28b5eab132)) +* Update dependency org.apache.arrow:arrow-vector to v13 ([#2236](https://github.com/googleapis/java-bigquerystorage/issues/2236)) ([afde7ce](https://github.com/googleapis/java-bigquerystorage/commit/afde7ce1f48f1c7cdd4b06d4aabdaac9d367aa50)) +* Update dependency org.apache.avro:avro to v1.11.3 ([#2252](https://github.com/googleapis/java-bigquerystorage/issues/2252)) ([10b615b](https://github.com/googleapis/java-bigquerystorage/commit/10b615b49ba8889f7d051ac03d4751ace82b6823)) + ## [2.42.0](https://github.com/googleapis/java-bigquerystorage/compare/v2.41.1...v2.42.0) (2023-09-13) diff --git a/google-cloud-bigquerystorage-bom/pom.xml b/google-cloud-bigquerystorage-bom/pom.xml index 02b9a31d5b..c01ec7ac14 100644 --- a/google-cloud-bigquerystorage-bom/pom.xml +++ b/google-cloud-bigquerystorage-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigquerystorage-bom - 2.42.1-SNAPSHOT + 2.43.0 pom com.google.cloud @@ -52,37 +52,37 @@ com.google.cloud google-cloud-bigquerystorage - 2.42.1-SNAPSHOT + 2.43.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.166.1-SNAPSHOT + 0.167.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.166.1-SNAPSHOT + 0.167.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.42.1-SNAPSHOT + 2.43.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.166.1-SNAPSHOT + 0.167.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.166.1-SNAPSHOT + 0.167.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.42.1-SNAPSHOT + 2.43.0 diff --git a/google-cloud-bigquerystorage/pom.xml b/google-cloud-bigquerystorage/pom.xml index 6f4b09e38e..6e719c116b 100644 --- a/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-bigquerystorage/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigquerystorage - 2.42.1-SNAPSHOT + 2.43.0 jar BigQuery Storage https://github.com/googleapis/java-bigquerystorage @@ -11,7 +11,7 @@ com.google.cloud google-cloud-bigquerystorage-parent - 2.42.1-SNAPSHOT + 2.43.0 google-cloud-bigquerystorage diff --git a/grpc-google-cloud-bigquerystorage-v1/pom.xml b/grpc-google-cloud-bigquerystorage-v1/pom.xml index c0b07b7b59..0b347476d9 100644 --- a/grpc-google-cloud-bigquerystorage-v1/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.42.1-SNAPSHOT + 2.43.0 grpc-google-cloud-bigquerystorage-v1 GRPC library for grpc-google-cloud-bigquerystorage-v1 com.google.cloud google-cloud-bigquerystorage-parent - 2.42.1-SNAPSHOT + 2.43.0 diff --git a/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml b/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml index 8775cfded0..44208b07f3 100644 --- a/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.166.1-SNAPSHOT + 0.167.0 grpc-google-cloud-bigquerystorage-v1beta1 GRPC library for grpc-google-cloud-bigquerystorage-v1beta1 com.google.cloud google-cloud-bigquerystorage-parent - 2.42.1-SNAPSHOT + 2.43.0 diff --git a/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml b/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml index 43d1ca32dc..61204c16bb 100644 --- a/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.166.1-SNAPSHOT + 0.167.0 grpc-google-cloud-bigquerystorage-v1beta2 GRPC library for grpc-google-cloud-bigquerystorage-v1beta2 com.google.cloud google-cloud-bigquerystorage-parent - 2.42.1-SNAPSHOT + 2.43.0 diff --git a/pom.xml b/pom.xml index 2ff78a1ec2..74c5f5877a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigquerystorage-parent pom - 2.42.1-SNAPSHOT + 2.43.0 BigQuery Storage Parent https://github.com/googleapis/java-bigquerystorage @@ -83,37 +83,37 @@ com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.166.1-SNAPSHOT + 0.167.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.166.1-SNAPSHOT + 0.167.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.42.1-SNAPSHOT + 2.43.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.166.1-SNAPSHOT + 0.167.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.166.1-SNAPSHOT + 0.167.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.42.1-SNAPSHOT + 2.43.0 com.google.cloud google-cloud-bigquerystorage - 2.42.1-SNAPSHOT + 2.43.0 org.json diff --git a/proto-google-cloud-bigquerystorage-v1/pom.xml b/proto-google-cloud-bigquerystorage-v1/pom.xml index 9fd9ae3eaa..6a06485d5a 100644 --- a/proto-google-cloud-bigquerystorage-v1/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.42.1-SNAPSHOT + 2.43.0 proto-google-cloud-bigquerystorage-v1 PROTO library for proto-google-cloud-bigquerystorage-v1 com.google.cloud google-cloud-bigquerystorage-parent - 2.42.1-SNAPSHOT + 2.43.0 diff --git a/proto-google-cloud-bigquerystorage-v1beta1/pom.xml b/proto-google-cloud-bigquerystorage-v1beta1/pom.xml index 62e19aa909..9d75f13162 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.166.1-SNAPSHOT + 0.167.0 proto-google-cloud-bigquerystorage-v1beta1 PROTO library for proto-google-cloud-bigquerystorage-v1beta1 com.google.cloud google-cloud-bigquerystorage-parent - 2.42.1-SNAPSHOT + 2.43.0 diff --git a/proto-google-cloud-bigquerystorage-v1beta2/pom.xml b/proto-google-cloud-bigquerystorage-v1beta2/pom.xml index fe7da6ea92..139e86136a 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.166.1-SNAPSHOT + 0.167.0 proto-google-cloud-bigquerystorage-v1beta2 PROTO library for proto-google-cloud-bigquerystorage-v1beta2 com.google.cloud google-cloud-bigquerystorage-parent - 2.42.1-SNAPSHOT + 2.43.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index d4cebbfefe..4b75923855 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-bigquerystorage - 2.42.1-SNAPSHOT + 2.43.0 diff --git a/versions.txt b/versions.txt index ec0ff80290..b2729a0d57 100644 --- a/versions.txt +++ b/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -google-cloud-bigquerystorage:2.42.0:2.42.1-SNAPSHOT -grpc-google-cloud-bigquerystorage-v1beta1:0.166.0:0.166.1-SNAPSHOT -grpc-google-cloud-bigquerystorage-v1beta2:0.166.0:0.166.1-SNAPSHOT -grpc-google-cloud-bigquerystorage-v1:2.42.0:2.42.1-SNAPSHOT -proto-google-cloud-bigquerystorage-v1beta1:0.166.0:0.166.1-SNAPSHOT -proto-google-cloud-bigquerystorage-v1beta2:0.166.0:0.166.1-SNAPSHOT -proto-google-cloud-bigquerystorage-v1:2.42.0:2.42.1-SNAPSHOT +google-cloud-bigquerystorage:2.43.0:2.43.0 +grpc-google-cloud-bigquerystorage-v1beta1:0.167.0:0.167.0 +grpc-google-cloud-bigquerystorage-v1beta2:0.167.0:0.167.0 +grpc-google-cloud-bigquerystorage-v1:2.43.0:2.43.0 +proto-google-cloud-bigquerystorage-v1beta1:0.167.0:0.167.0 +proto-google-cloud-bigquerystorage-v1beta2:0.167.0:0.167.0 +proto-google-cloud-bigquerystorage-v1:2.43.0:2.43.0 From 6435a0491827779b01dd0c3cf184f6578bf33f3e Mon Sep 17 00:00:00 2001 From: Evan Greco Date: Fri, 6 Oct 2023 15:43:53 -0700 Subject: [PATCH 26/41] feat: Add in-stream retry logic for retryable and quota errors (#2243) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add retry logic. TODO: get exponential retry algorithm setup * Attach exponential retry strategy to each AppendRequestAndResponse * Add changes to fake server to facilitate retry tests * Add basic default and exclusive internal/quota error retries * fix responsesToIgnore bug, add tests, remove logs * Add more tests, reformat * Add more tests * Fix schema error test, retry config * Cleanup changes, add back logs * Add newline at EOF * Run format * PR feedback * PR feedback * Use RetrySettings in StreamWriter * Add RetrySettings to JsonStreamWriter * Run format * Update clirr ignored differences; new additions never shipped * Disable retry during multiplexing * Throw exception if connection pool is enabled and retry settings are provided. * Run format * Combine retriable error checks * Add comments, make retry settings non-static * Set retry fields to final * Run format * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Evan Greco Co-authored-by: Owl Bot --- README.md | 8 +- .../clirr-ignored-differences.xml | 15 + .../bigquery/storage/v1/ConnectionWorker.java | 255 +++++++++- .../storage/v1/ConnectionWorkerPool.java | 8 +- .../bigquery/storage/v1/JsonStreamWriter.java | 12 + .../storage/v1/SchemaAwareStreamWriter.java | 22 +- .../bigquery/storage/v1/StreamWriter.java | 19 +- .../storage/v1/ConnectionWorkerTest.java | 29 +- .../storage/v1/FakeBigQueryWrite.java | 21 + .../storage/v1/FakeBigQueryWriteImpl.java | 130 ++++- .../bigquery/storage/v1/StreamWriterTest.java | 470 +++++++++++++++++- 11 files changed, 930 insertions(+), 59 deletions(-) diff --git a/README.md b/README.md index cf693685ce..3f62532b64 100644 --- a/README.md +++ b/README.md @@ -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.23.0') +implementation platform('com.google.cloud:libraries-bom:26.24.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.42.0' +implementation 'com.google.cloud:google-cloud-bigquerystorage:2.43.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "2.42.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "2.43.0" ``` @@ -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.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerystorage/2.43.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 diff --git a/google-cloud-bigquerystorage/clirr-ignored-differences.xml b/google-cloud-bigquerystorage/clirr-ignored-differences.xml index 35979d19d3..6d99d6a031 100644 --- a/google-cloud-bigquerystorage/clirr-ignored-differences.xml +++ b/google-cloud-bigquerystorage/clirr-ignored-differences.xml @@ -173,5 +173,20 @@ 1001 com/google/cloud/bigquery/storage/v1/StreamConnection + + 7002 + com/google/cloud/bigquery/storage/v1/StreamWriter$Builder + com.google.cloud.bigquery.storage.v1.StreamWriter$Builder setMaxRetryNumAttempts(int) + + + 7002 + com/google/cloud/bigquery/storage/v1/StreamWriter$Builder + com.google.cloud.bigquery.storage.v1.StreamWriter$Builder setRetryMultiplier(double) + + + 7002 + com/google/cloud/bigquery/storage/v1/StreamWriter$Builder + com.google.cloud.bigquery.storage.v1.StreamWriter$Builder setRetryFirstDelay(org.threeten.bp.Duration) + diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/ConnectionWorker.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/ConnectionWorker.java index 2d4733c9fe..44673207ba 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/ConnectionWorker.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/ConnectionWorker.java @@ -16,8 +16,12 @@ package com.google.cloud.bigquery.storage.v1; import com.google.api.core.ApiFuture; +import com.google.api.core.NanoClock; import com.google.api.core.SettableApiFuture; import com.google.api.gax.batching.FlowController; +import com.google.api.gax.retrying.ExponentialRetryAlgorithm; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.retrying.TimedAttemptSettings; import com.google.api.gax.rpc.FixedHeaderProvider; import com.google.auto.value.AutoValue; import com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation; @@ -82,7 +86,11 @@ class ConnectionWorker implements AutoCloseable { private Lock lock; private Condition hasMessageInWaitingQueue; private Condition inflightReduced; - private static Duration maxRetryDuration = Duration.ofMinutes(5); + /* + * Max retry duration when trying to establish a connection. This does not + * apply to in-stream retries. + */ + private final Duration maxRetryDuration; private ExecutorService threadPool = Executors.newFixedThreadPool(1); /* @@ -227,9 +235,29 @@ class ConnectionWorker implements AutoCloseable { private RuntimeException testOnlyRunTimeExceptionInAppendLoop = null; private long testOnlyAppendLoopSleepTime = 0; + /* + * Tracks the number of responses to ignore in the case of exclusive stream retry + */ + @GuardedBy("lock") + private int responsesToIgnore = 0; + + /* + * Contains settings related to in-stream retries. If retrySettings is null, + * this implies that no retries will occur on retryable in-stream errors. + */ + private final RetrySettings retrySettings; + private static String projectMatching = "projects/[^/]+/"; private static Pattern streamPatternProject = Pattern.compile(projectMatching); + static final Pattern DEFAULT_STREAM_PATTERN = + Pattern.compile("projects/([^/]+)/datasets/([^/]+)/tables/([^/]+)/(streams/)?_default$"); + + public static Boolean isDefaultStreamName(String streamName) { + Matcher matcher = DEFAULT_STREAM_PATTERN.matcher(streamName); + return matcher.matches(); + } + /** The maximum size of one request. Defined by the API. */ public static long getApiMaxRequestBytes() { return 10L * 1000L * 1000L; // 10 megabytes (https://en.wikipedia.org/wiki/Megabyte) @@ -260,7 +288,8 @@ public ConnectionWorker( FlowController.LimitExceededBehavior limitExceededBehavior, String traceId, @Nullable String compressorName, - BigQueryWriteSettings clientSettings) + BigQueryWriteSettings clientSettings, + RetrySettings retrySettings) throws IOException { this.lock = new ReentrantLock(); this.hasMessageInWaitingQueue = lock.newCondition(); @@ -269,7 +298,7 @@ public ConnectionWorker( if (location != null && !location.isEmpty()) { this.location = location; } - this.maxRetryDuration = maxRetryDuration; + this.maxRetryDuration = maxRetryDuration != null ? maxRetryDuration : Duration.ofMinutes(5); if (writerSchema == null) { throw new StatusRuntimeException( Status.fromCode(Code.INVALID_ARGUMENT) @@ -282,6 +311,7 @@ public ConnectionWorker( this.waitingRequestQueue = new LinkedList(); this.inflightRequestQueue = new LinkedList(); this.compressorName = compressorName; + this.retrySettings = retrySettings; // Always recreate a client for connection worker. HashMap newHeaders = new HashMap<>(); newHeaders.putAll(clientSettings.toBuilder().getHeaderProvider().getHeaders()); @@ -356,6 +386,57 @@ public void run(Throwable finalStatus) { log.info("Finish connecting stream: " + streamName + " id: " + writerId); } + @GuardedBy("lock") + private boolean shouldWaitForBackoff(AppendRequestAndResponse requestWrapper) { + if (this.retrySettings != null + && Instant.now().isBefore(requestWrapper.blockMessageSendDeadline)) { + log.fine( + String.format( + "Waiting for wait queue to unblock at %s for retry # %s", + requestWrapper.blockMessageSendDeadline, requestWrapper.retryCount)); + return true; + } + + return false; + } + + private void waitForBackoffIfNecessary(AppendRequestAndResponse requestWrapper) { + lock.lock(); + try { + Condition condition = lock.newCondition(); + while (shouldWaitForBackoff(requestWrapper)) { + condition.await(100, java.util.concurrent.TimeUnit.MILLISECONDS); + } + } catch (InterruptedException e) { + throw new IllegalStateException(e); + } finally { + lock.unlock(); + } + } + + @GuardedBy("lock") + private void addMessageToFrontOfWaitingQueue(AppendRequestAndResponse requestWrapper) { + addMessageToWaitingQueue(requestWrapper, /* addToFront= */ true); + } + + @GuardedBy("lock") + private void addMessageToBackOfWaitingQueue(AppendRequestAndResponse requestWrapper) { + addMessageToWaitingQueue(requestWrapper, /* addToFront= */ false); + } + + @GuardedBy("lock") + private void addMessageToWaitingQueue( + AppendRequestAndResponse requestWrapper, boolean addToFront) { + ++this.inflightRequests; + this.inflightBytes += requestWrapper.messageSize; + hasMessageInWaitingQueue.signal(); + if (addToFront) { + waitingRequestQueue.addFirst(requestWrapper); + } else { + waitingRequestQueue.add(requestWrapper); + } + } + /** Schedules the writing of rows at given offset. */ ApiFuture append(StreamWriter streamWriter, ProtoRows rows, long offset) { if (this.location != null && !this.location.equals(streamWriter.getLocation())) { @@ -412,7 +493,8 @@ String getWriteLocation() { private ApiFuture appendInternal( StreamWriter streamWriter, AppendRowsRequest message) { - AppendRequestAndResponse requestWrapper = new AppendRequestAndResponse(message, streamWriter); + AppendRequestAndResponse requestWrapper = + new AppendRequestAndResponse(message, streamWriter, this.retrySettings); if (requestWrapper.messageSize > getApiMaxRequestBytes()) { requestWrapper.appendResult.setException( new StatusRuntimeException( @@ -630,11 +712,16 @@ private void appendLoop() { while (!inflightRequestQueue.isEmpty()) { waitingRequestQueue.addFirst(inflightRequestQueue.pollLast()); } + + // If any of the inflight messages were meant to be ignored during requestCallback, they + // no longer will be able to make the round trip, so clear responsesToIgnore. + this.responsesToIgnore = 0; } while (!this.waitingRequestQueue.isEmpty()) { AppendRequestAndResponse requestWrapper = this.waitingRequestQueue.pollFirst(); + waitForBackoffIfNecessary(requestWrapper); requestWrapper.trySetRequestInsertQueueTime(); - this.inflightRequestQueue.addLast(requestWrapper); + this.inflightRequestQueue.add(requestWrapper); localQueue.addLast(requestWrapper); } } catch (InterruptedException e) { @@ -830,7 +917,7 @@ private void cleanupInflightRequests() { finalStatus = this.connectionFinalStatus; } while (!this.inflightRequestQueue.isEmpty()) { - localQueue.addLast(pollInflightRequestQueue()); + localQueue.addLast(pollFirstInflightRequestQueue()); } this.inflightCleanuped = true; } finally { @@ -866,6 +953,75 @@ private void cleanupInflightRequests() { } } + private Boolean retryOnRetryableError(Code errorCode, AppendRequestAndResponse requestWrapper) { + if (this.retrySettings == null) { + return false; + } + + if (this.retrySettings.getMaxAttempts() == 0) { + return false; + } + + if (!isConnectionErrorRetriable(errorCode) && errorCode != Code.RESOURCE_EXHAUSTED) { + return false; + } + + if (requestWrapper.retryCount < this.retrySettings.getMaxAttempts()) { + lock.lock(); + try { + requestWrapper.retryCount++; + if (this.retrySettings != null && errorCode == Code.RESOURCE_EXHAUSTED) { + // Trigger exponential backoff in append loop when request is resent for quota errors + if (requestWrapper.attemptSettings == null) { + requestWrapper.attemptSettings = requestWrapper.retryAlgorithm.createFirstAttempt(); + } else { + requestWrapper.attemptSettings = + requestWrapper.retryAlgorithm.createNextAttempt(requestWrapper.attemptSettings); + } + requestWrapper.blockMessageSendDeadline = + Instant.now().plusMillis(requestWrapper.attemptSettings.getRetryDelay().toMillis()); + } + + Long offset = + requestWrapper.message.hasOffset() ? requestWrapper.message.getOffset().getValue() : -1; + if (isDefaultStreamName(streamName) || offset == -1) { + log.fine( + String.format( + "Retrying default stream message in stream %s for in-stream error: %s, retry count:" + + " %s", + streamName, errorCode, requestWrapper.retryCount)); + addMessageToFrontOfWaitingQueue(requestWrapper); + } else { + log.fine( + String.format( + "Retrying exclusive message in stream %s at offset %d for in-stream error: %s, retry" + + " count: %s", + streamName, + requestWrapper.message.getOffset().getValue(), + errorCode, + requestWrapper.retryCount)); + // Send all inflight messages to front of queue + while (!inflightRequestQueue.isEmpty()) { + AppendRequestAndResponse element = pollLastInflightRequestQueue(); + addMessageToFrontOfWaitingQueue(element); + responsesToIgnore++; + } + + addMessageToFrontOfWaitingQueue(requestWrapper); + } + return true; + } finally { + lock.unlock(); + } + } + + log.info( + String.format( + "Max retry count reached for message in stream %s at offset %d. Retry count: %d", + streamName, requestWrapper.message.getOffset().getValue(), requestWrapper.retryCount)); + return false; + } + private void requestCallback(AppendRowsResponse response) { if (response.hasUpdatedSchema()) { AppendRowsResponse responseWithUpdatedSchemaRemoved = @@ -880,11 +1036,28 @@ private void requestCallback(AppendRowsResponse response) { AppendRequestAndResponse requestWrapper; this.lock.lock(); - if (response.hasUpdatedSchema()) { - this.updatedSchema = - TableSchemaAndTimestamp.create(System.nanoTime(), response.getUpdatedSchema()); - } try { + // Ignored response has arrived + if (responsesToIgnore > 0) { + if (response.hasError()) { + log.fine( + String.format("Ignoring response in stream %s at offset %s.", streamName, response)); + } else { + log.warning( + String.format( + "Unexpected successful response in stream %s at offset %s. Due to a previous" + + " retryable error being inflight, this message is being ignored.", + streamName, response.getAppendResult().getOffset())); + } + + responsesToIgnore--; + return; + } + + if (response.hasUpdatedSchema()) { + this.updatedSchema = + TableSchemaAndTimestamp.create(System.nanoTime(), response.getUpdatedSchema()); + } // Had a successful connection with at least one result, reset retries. // conectionRetryCountWithoutCallback is reset so that only multiple retries, without // successful records sent, will cause the stream to fail. @@ -895,7 +1068,7 @@ private void requestCallback(AppendRowsResponse response) { connectionRetryStartTime = 0; } if (!this.inflightRequestQueue.isEmpty()) { - requestWrapper = pollInflightRequestQueue(); + requestWrapper = pollFirstInflightRequestQueue(); } else if (inflightCleanuped) { // It is possible when requestCallback is called, the inflight queue is already drained // because we timed out waiting for done. @@ -913,7 +1086,14 @@ private void requestCallback(AppendRowsResponse response) { this.lock.unlock(); } - // We need a separte thread pool to unblock the next request callback. + // Retries need to happen on the same thread as queue locking may occur + if (response.hasError()) { + if (retryOnRetryableError(Code.values()[response.getError().getCode()], requestWrapper)) { + return; + } + } + + // We need a separate thread pool to unblock the next request callback. // Otherwise user may call append inside request callback, which may be blocked on waiting // on in flight quota, causing deadlock as requests can't be popped out of queue until // the current request callback finishes. @@ -952,13 +1132,12 @@ private void requestCallback(AppendRowsResponse response) { }); } - private boolean isConnectionErrorRetriable(Throwable t) { - Status status = Status.fromThrowable(t); - return status.getCode() == Code.ABORTED - || status.getCode() == Code.UNAVAILABLE - || status.getCode() == Code.CANCELLED - || status.getCode() == Code.INTERNAL - || status.getCode() == Code.DEADLINE_EXCEEDED; + private boolean isConnectionErrorRetriable(Code statusCode) { + return statusCode == Code.ABORTED + || statusCode == Code.UNAVAILABLE + || statusCode == Code.CANCELLED + || statusCode == Code.INTERNAL + || statusCode == Code.DEADLINE_EXCEEDED; } private void doneCallback(Throwable finalStatus) { @@ -977,7 +1156,7 @@ private void doneCallback(Throwable finalStatus) { connectionRetryStartTime = System.currentTimeMillis(); } // If the error can be retried, don't set it here, let it try to retry later on. - if (isConnectionErrorRetriable(finalStatus) + if (isConnectionErrorRetriable(Status.fromThrowable(finalStatus).getCode()) && !userClosed && (maxRetryDuration.toMillis() == 0f || System.currentTimeMillis() - connectionRetryStartTime @@ -1013,14 +1192,25 @@ private void doneCallback(Throwable finalStatus) { } @GuardedBy("lock") - private AppendRequestAndResponse pollInflightRequestQueue() { - AppendRequestAndResponse requestWrapper = this.inflightRequestQueue.pollFirst(); + private AppendRequestAndResponse pollInflightRequestQueue(boolean pollLast) { + AppendRequestAndResponse requestWrapper = + pollLast ? inflightRequestQueue.pollLast() : inflightRequestQueue.poll(); --this.inflightRequests; this.inflightBytes -= requestWrapper.messageSize; this.inflightReduced.signal(); return requestWrapper; } + @GuardedBy("lock") + private AppendRequestAndResponse pollLastInflightRequestQueue() { + return pollInflightRequestQueue(/* pollLast= */ true); + } + + @GuardedBy("lock") + private AppendRequestAndResponse pollFirstInflightRequestQueue() { + return pollInflightRequestQueue(/* pollLast= */ false); + } + /** Thread-safe getter of updated TableSchema */ synchronized TableSchemaAndTimestamp getUpdatedSchema() { return this.updatedSchema; @@ -1032,17 +1222,36 @@ static final class AppendRequestAndResponse { final SettableApiFuture appendResult; final AppendRowsRequest message; final long messageSize; + // Used to determine the point at which appendLoop is able to process messages from the waiting + // queue. This is used to process errors that support exponential backoff retry. + Instant blockMessageSendDeadline; + + Integer retryCount; + ExponentialRetryAlgorithm retryAlgorithm; // The writer that issues the call of the request. final StreamWriter streamWriter; + TimedAttemptSettings attemptSettings; + Instant requestCreationTimeStamp; - AppendRequestAndResponse(AppendRowsRequest message, StreamWriter streamWriter) { + AppendRequestAndResponse( + AppendRowsRequest message, StreamWriter streamWriter, RetrySettings retrySettings) { this.appendResult = SettableApiFuture.create(); this.message = message; this.messageSize = message.getProtoRows().getSerializedSize(); this.streamWriter = streamWriter; + this.blockMessageSendDeadline = Instant.now(); + this.retryCount = 0; + // To be set after first retry + this.attemptSettings = null; + if (retrySettings != null) { + this.retryAlgorithm = + new ExponentialRetryAlgorithm(retrySettings, NanoClock.getDefaultClock()); + } else { + this.retryAlgorithm = null; + } } void trySetRequestInsertQueueTime() { diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/ConnectionWorkerPool.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/ConnectionWorkerPool.java index 1530d48afc..cbf9b8a839 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/ConnectionWorkerPool.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/ConnectionWorkerPool.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.gax.batching.FlowController; +import com.google.api.gax.retrying.RetrySettings; import com.google.auto.value.AutoValue; import com.google.cloud.bigquery.storage.v1.ConnectionWorker.Load; import com.google.cloud.bigquery.storage.v1.ConnectionWorker.TableSchemaAndTimestamp; @@ -65,6 +66,8 @@ public class ConnectionWorkerPool { */ private final java.time.Duration maxRetryDuration; + private RetrySettings retrySettings; + /* * Behavior when inflight queue is exceeded. Only supports Block or Throw, default is Block. */ @@ -214,6 +217,8 @@ public abstract static class Builder { this.compressorName = comperssorName; this.clientSettings = clientSettings; this.currentMaxConnectionCount = settings.minConnectionsPerRegion(); + // In-stream retry is not enabled for multiplexing. + this.retrySettings = null; } /** @@ -387,7 +392,8 @@ private ConnectionWorker createConnectionWorker( limitExceededBehavior, traceId, compressorName, - clientSettings); + clientSettings, + retrySettings); connectionWorkerPool.add(connectionWorker); log.info( String.format( diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/JsonStreamWriter.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/JsonStreamWriter.java index 6c7a8b89df..548941ae51 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/JsonStreamWriter.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/JsonStreamWriter.java @@ -19,6 +19,7 @@ import com.google.api.gax.batching.FlowControlSettings; import com.google.api.gax.core.CredentialsProvider; import com.google.api.gax.core.ExecutorProvider; +import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.protobuf.Descriptors; import java.io.IOException; @@ -346,6 +347,17 @@ public Builder setCompressorName(String compressorName) { return this; } + /** + * Sets the RetrySettings to use for in-stream error retry. + * + * @param retrySettings + * @return Builder + */ + public Builder setRetrySettings(RetrySettings retrySettings) { + this.schemaAwareStreamWriterBuilder.setRetrySettings(retrySettings); + return this; + } + /** * Sets the default missing value interpretation value if the column is not presented in the * missing_value_interpretations map. diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/SchemaAwareStreamWriter.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/SchemaAwareStreamWriter.java index 8082ae0340..fced8ccd1e 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/SchemaAwareStreamWriter.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/SchemaAwareStreamWriter.java @@ -19,6 +19,7 @@ import com.google.api.gax.batching.FlowControlSettings; import com.google.api.gax.core.CredentialsProvider; import com.google.api.gax.core.ExecutorProvider; +import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation; import com.google.cloud.bigquery.storage.v1.Exceptions.AppendSerializationError; @@ -95,7 +96,8 @@ private SchemaAwareStreamWriter(Builder builder) builder.flowControlSettings, builder.traceIdBase, builder.traceId, - builder.compressorName); + builder.compressorName, + builder.retrySettings); streamWriterBuilder.setEnableConnectionPool(builder.enableConnectionPool); streamWriterBuilder.setLocation(builder.location); streamWriterBuilder.setDefaultMissingValueInterpretation( @@ -282,7 +284,8 @@ private void setStreamWriterSettings( @Nullable FlowControlSettings flowControlSettings, @Nullable String traceIdBase, @Nullable String traceId, - @Nullable String compressorName) { + @Nullable String compressorName, + @Nullable RetrySettings retrySettings) { if (channelProvider != null) { streamWriterBuilder.setChannelProvider(channelProvider); } @@ -325,6 +328,9 @@ private void setStreamWriterSettings( if (compressorName != null) { streamWriterBuilder.setCompressorName(compressorName); } + if (retrySettings != null) { + streamWriterBuilder.setRetrySettings(retrySettings); + } } /** @@ -435,6 +441,7 @@ public static final class Builder { private boolean enableConnectionPool = false; private String location; private String compressorName; + private RetrySettings retrySettings; private AppendRowsRequest.MissingValueInterpretation defaultMissingValueInterpretation = MissingValueInterpretation.MISSING_VALUE_INTERPRETATION_UNSPECIFIED; @@ -643,6 +650,17 @@ public Builder setDefaultMissingValueInterpretation( return this; } + /** + * Sets the RetrySettings to use for in-stream error retry. + * + * @param retrySettings + * @return Builder + */ + public Builder setRetrySettings(RetrySettings retrySettings) { + this.retrySettings = retrySettings; + return this; + } + /** * Builds SchemaAwareStreamWriter * diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/StreamWriter.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/StreamWriter.java index 510f11ceca..538bec4e32 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/StreamWriter.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/StreamWriter.java @@ -19,6 +19,7 @@ import com.google.api.gax.batching.FlowController; import com.google.api.gax.core.CredentialsProvider; import com.google.api.gax.core.ExecutorProvider; +import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.auto.value.AutoOneOf; import com.google.auto.value.AutoValue; @@ -225,7 +226,8 @@ private StreamWriter(Builder builder) throws IOException { builder.limitExceededBehavior, builder.traceId, builder.compressorName, - clientSettings)); + clientSettings, + builder.retrySettings)); } else { if (!isDefaultStream(streamName)) { log.warning( @@ -235,6 +237,12 @@ private StreamWriter(Builder builder) throws IOException { "Trying to enable connection pool in non-default stream."); } + if (builder.retrySettings != null) { + log.warning("Retry settings is only allowed when connection pool is not enabled."); + throw new IllegalArgumentException( + "Trying to enable connection pool while providing retry settings."); + } + // We need a client to perform some getWriteStream calls. BigQueryWriteClient client = builder.client != null ? builder.client : new BigQueryWriteClient(clientSettings); @@ -433,7 +441,7 @@ public ApiFuture append(ProtoRows rows) { public ApiFuture append(ProtoRows rows, long offset) { if (userClosed.get()) { AppendRequestAndResponse requestWrapper = - new AppendRequestAndResponse(AppendRowsRequest.newBuilder().build(), this); + new AppendRequestAndResponse(AppendRowsRequest.newBuilder().build(), this, null); requestWrapper.appendResult.setException( new Exceptions.StreamWriterClosedException( Status.fromCode(Status.Code.FAILED_PRECONDITION) @@ -619,6 +627,8 @@ public static final class Builder { private AppendRowsRequest.MissingValueInterpretation defaultMissingValueInterpretation = MissingValueInterpretation.MISSING_VALUE_INTERPRETATION_UNSPECIFIED; + private RetrySettings retrySettings = null; + private Builder(String streamName) { this.streamName = Preconditions.checkNotNull(streamName); this.client = null; @@ -756,6 +766,11 @@ public Builder setDefaultMissingValueInterpretation( return this; } + public Builder setRetrySettings(RetrySettings retrySettings) { + this.retrySettings = retrySettings; + return this; + } + /** Builds the {@code StreamWriterV2}. */ public StreamWriter build() throws IOException { return new StreamWriter(this); diff --git a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/ConnectionWorkerTest.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/ConnectionWorkerTest.java index ba037423fb..3acf7d1349 100644 --- a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/ConnectionWorkerTest.java +++ b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/ConnectionWorkerTest.java @@ -25,6 +25,7 @@ import com.google.api.gax.core.NoCredentialsProvider; import com.google.api.gax.grpc.testing.MockGrpcService; import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.retrying.RetrySettings; import com.google.cloud.bigquery.storage.test.Test.ComplicateType; import com.google.cloud.bigquery.storage.test.Test.FooType; import com.google.cloud.bigquery.storage.test.Test.InnerType; @@ -51,6 +52,13 @@ public class ConnectionWorkerTest { private static final String TEST_STREAM_1 = "projects/p1/datasets/d1/tables/t1/streams/s1"; private static final String TEST_STREAM_2 = "projects/p2/datasets/d2/tables/t2/streams/s2"; private static final String TEST_TRACE_ID = "DATAFLOW:job_id"; + private static final RetrySettings retrySettings = + RetrySettings.newBuilder() + .setInitialRetryDelay(org.threeten.bp.Duration.ofMillis(500)) + .setRetryDelayMultiplier(1.1) + .setMaxAttempts(3) + .setMaxRetryDelay(org.threeten.bp.Duration.ofMinutes(5)) + .build(); private FakeBigQueryWrite testBigQueryWrite; private FakeScheduledExecutorService fakeExecutor; @@ -334,7 +342,8 @@ public void testAppendButInflightQueueFull() throws Exception { FlowController.LimitExceededBehavior.Block, TEST_TRACE_ID, null, - client.getSettings()); + client.getSettings(), + retrySettings); testBigQueryWrite.setResponseSleep(org.threeten.bp.Duration.ofSeconds(1)); ConnectionWorker.setMaxInflightQueueWaitTime(500); @@ -390,7 +399,8 @@ public void testThrowExceptionWhileWithinAppendLoop() throws Exception { FlowController.LimitExceededBehavior.Block, TEST_TRACE_ID, null, - client.getSettings()); + client.getSettings(), + retrySettings); testBigQueryWrite.setResponseSleep(org.threeten.bp.Duration.ofSeconds(1)); ConnectionWorker.setMaxInflightQueueWaitTime(500); @@ -458,7 +468,8 @@ public void testLocationMismatch() throws Exception { FlowController.LimitExceededBehavior.Block, TEST_TRACE_ID, null, - client.getSettings()); + client.getSettings(), + retrySettings); StatusRuntimeException ex = assertThrows( StatusRuntimeException.class, @@ -489,7 +500,8 @@ public void testStreamNameMismatch() throws Exception { FlowController.LimitExceededBehavior.Block, TEST_TRACE_ID, null, - client.getSettings()); + client.getSettings(), + retrySettings); StatusRuntimeException ex = assertThrows( StatusRuntimeException.class, @@ -541,7 +553,8 @@ private ConnectionWorker createConnectionWorker( FlowController.LimitExceededBehavior.Block, TEST_TRACE_ID, null, - client.getSettings()); + client.getSettings(), + retrySettings); } private ProtoSchema createProtoSchema(String protoName) { @@ -635,7 +648,8 @@ public void testThrowExceptionWhileWithinAppendLoop_MaxWaitTimeExceed() throws E FlowController.LimitExceededBehavior.Block, TEST_TRACE_ID, null, - client.getSettings()); + client.getSettings(), + retrySettings); testBigQueryWrite.setResponseSleep(org.threeten.bp.Duration.ofSeconds(3)); long appendCount = 10; @@ -696,7 +710,8 @@ public void testLongTimeIdleWontFail() throws Exception { FlowController.LimitExceededBehavior.Block, TEST_TRACE_ID, null, - client.getSettings()); + client.getSettings(), + retrySettings); long appendCount = 10; for (int i = 0; i < appendCount * 2; i++) { diff --git a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/FakeBigQueryWrite.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/FakeBigQueryWrite.java index 5f697185f1..a31cc145a6 100644 --- a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/FakeBigQueryWrite.java +++ b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/FakeBigQueryWrite.java @@ -22,6 +22,7 @@ import java.util.LinkedList; import java.util.List; import java.util.concurrent.ScheduledExecutorService; +import java.util.function.Supplier; import org.threeten.bp.Duration; /** @@ -65,11 +66,23 @@ public void addResponse(AbstractMessage response) { } } + /** + * Add a response supplier to end of list. This supplier can be used to simulate retries or other + * forms of behavior. + */ + public void addResponse(Supplier response) { + serviceImpl.addResponse(response); + } + @Override public void addException(Exception exception) { serviceImpl.addConnectionError(exception); } + public void addStatusException(com.google.rpc.Status status) { + serviceImpl.addException(status); + } + @Override public ServerServiceDefinition getServiceDefinition() { return serviceImpl.bindService(); @@ -107,4 +120,12 @@ public void setExecutor(ScheduledExecutorService executor) { public void setFailedStatus(Status failedStatus) { serviceImpl.setFailedStatus(failedStatus); } + + public void setReturnErrorDuringExclusiveStreamRetry(boolean retryOnError) { + serviceImpl.setReturnErrorDuringExclusiveStreamRetry(retryOnError); + } + + public void setVerifyOffset(boolean verifyOffset) { + serviceImpl.setVerifyOffset(verifyOffset); + } } diff --git a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/FakeBigQueryWriteImpl.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/FakeBigQueryWriteImpl.java index e406fb03b6..16f3feea3c 100644 --- a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/FakeBigQueryWriteImpl.java +++ b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/FakeBigQueryWriteImpl.java @@ -17,6 +17,7 @@ import com.google.common.base.Optional; import com.google.common.util.concurrent.Uninterruptibles; +import com.google.rpc.Code; import io.grpc.Status; import io.grpc.stub.StreamObserver; import java.util.ArrayList; @@ -29,6 +30,7 @@ import java.util.concurrent.Semaphore; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; +import java.util.function.Supplier; import java.util.logging.Logger; import org.threeten.bp.Duration; @@ -37,13 +39,14 @@ * unit testing. */ class FakeBigQueryWriteImpl extends BigQueryWriteGrpc.BigQueryWriteImplBase { - private static final Logger LOG = Logger.getLogger(FakeBigQueryWriteImpl.class.getName()); + private static final Logger LOG = Logger.getLogger(FakeBigQueryWriteImpl.class.getName()); + private final List> responses = + Collections.synchronizedList(new ArrayList<>()); private final LinkedBlockingQueue requests = new LinkedBlockingQueue<>(); private final LinkedBlockingQueue writeRequests = new LinkedBlockingQueue<>(); private final LinkedBlockingQueue flushRequests = new LinkedBlockingQueue<>(); - private final List responses = Collections.synchronizedList(new ArrayList<>()); private final LinkedBlockingQueue writeResponses = new LinkedBlockingQueue<>(); private final LinkedBlockingQueue flushResponses = new LinkedBlockingQueue<>(); private final AtomicInteger nextMessageId = new AtomicInteger(1); @@ -58,6 +61,13 @@ class FakeBigQueryWriteImpl extends BigQueryWriteGrpc.BigQueryWriteImplBase { private long recordCount = 0; private long connectionCount = 0; private long closeForeverAfter = 0; + private int responseIndex = 0; + private long expectedOffset = 0; + private boolean verifyOffset = false; + private boolean returnErrorDuringExclusiveStreamRetry = false; + private boolean returnErrorUntilRetrySuccess = false; + private Response retryResponse; + private long retryingOffset = -1; // Record whether the first record has been seen on a connection. private final Map, Boolean> connectionToFirstRequest = @@ -65,7 +75,8 @@ class FakeBigQueryWriteImpl extends BigQueryWriteGrpc.BigQueryWriteImplBase { private Status failedStatus = Status.ABORTED; /** Class used to save the state of a possible response. */ - private static class Response { + public static class Response { + Optional appendResponse; Optional error; @@ -143,6 +154,40 @@ public void setFailedStatus(Status failedStatus) { this.failedStatus = failedStatus; } + private Response determineResponse(long offset) { + // The logic here checks to see if a retry is ongoing. The implication is that the + // offset that is being retried (retryingOffset) should lead to returning the same error + // over and over until a request eventually resolves, instead of calling get() on + // suppliers that, in the future, may be expected to trigger full retry loops. + Response response; + // Retry is in progress and the offset isn't the retrying offset; return saved response + if (returnErrorUntilRetrySuccess && offset != retryingOffset) { + response = retryResponse; + } else { + // We received the retryingOffset OR we aren't in retry mode; get response as + // expected. + // In case of connection reset: normally each response will only be sent once. But, if the + // stream is aborted, the last few responses may not be received, and the client will request + // them again. + response = responses.get(Math.toIntExact(offset)).get(); + // If we are in retry mode and don't have an error, clear retry variables + if (returnErrorUntilRetrySuccess && !response.getResponse().hasError()) { + retryingOffset = -1; + retryResponse = null; + } + } + + returnErrorUntilRetrySuccess = + returnErrorDuringExclusiveStreamRetry && response.getResponse().hasError(); + // If this is a new retry cycle, set retry variables + if (retryingOffset == -1 && returnErrorUntilRetrySuccess) { + retryingOffset = offset; + retryResponse = response; + } + + return response; + } + @Override public StreamObserver appendRows( final StreamObserver responseObserver) { @@ -152,15 +197,15 @@ public StreamObserver appendRows( new StreamObserver() { @Override public void onNext(AppendRowsRequest value) { - LOG.fine("Get request:" + value.toString()); - requests.add(value); recordCount++; - int offset = (int) (recordCount - 1); - if (value.hasOffset() && value.getOffset().getValue() != -1) { - offset = (int) value.getOffset().getValue(); + requests.add(value); + long offset = value.getOffset().getValue(); + if (offset == -1 || !value.hasOffset()) { + offset = responseIndex; } + responseIndex++; if (responseSleep.compareTo(Duration.ZERO) > 0) { - LOG.fine("Sleeping before response for " + responseSleep.toString()); + LOG.info("Sleeping before response for " + responseSleep.toString()); Uninterruptibles.sleepUninterruptibly( responseSleep.toMillis(), TimeUnit.MILLISECONDS); } @@ -179,6 +224,7 @@ public void onNext(AppendRowsRequest value) { } connectionToFirstRequest.put(responseObserver, false); if (closeAfter > 0 + && responseIndex % closeAfter == 0 && recordCount % closeAfter == 0 && (numberTimesToClose == 0 || connectionCount <= numberTimesToClose)) { LOG.info("Shutting down connection from test..."); @@ -187,7 +233,26 @@ public void onNext(AppendRowsRequest value) { LOG.info("Shutting down connection from test..."); responseObserver.onError(failedStatus.asException()); } else { - final Response response = responses.get(offset); + Response response = determineResponse(offset); + if (verifyOffset + && !response.getResponse().hasError() + && response.getResponse().getAppendResult().getOffset().getValue() > -1) { + // No error and offset is present; verify order + if (response.getResponse().getAppendResult().getOffset().getValue() + != expectedOffset) { + com.google.rpc.Status status = + com.google.rpc.Status.newBuilder().setCode(Code.INTERNAL_VALUE).build(); + response = new Response(AppendRowsResponse.newBuilder().setError(status).build()); + } else { + LOG.info( + String.format( + "asserted offset: %s expected: %s", + response.getResponse().getAppendResult().getOffset().getValue(), + expectedOffset)); + LOG.info(String.format("sending response: %s", response.getResponse())); + expectedOffset++; + } + } sendResponse(response, responseObserver); } } @@ -207,7 +272,6 @@ public void onCompleted() { private void sendResponse( Response response, StreamObserver responseObserver) { - LOG.fine("Sending response: " + response.toString()); if (response.isError()) { responseObserver.onError(response.getError()); } else { @@ -227,13 +291,20 @@ public FakeBigQueryWriteImpl setResponseSleep(Duration responseSleep) { return this; } - public FakeBigQueryWriteImpl addResponse(AppendRowsResponse appendRowsResponse) { - responses.add(new Response(appendRowsResponse)); - return this; + /** + * Add a response to end of list. Response can be either an record, or an exception. All repsones + * must be set up before any rows are appended. + */ + public void addResponse(AppendRowsResponse appendRowsResponse) { + responses.add(() -> new Response(appendRowsResponse)); } - public FakeBigQueryWriteImpl addResponse(AppendRowsResponse.Builder appendResponseBuilder) { - return addResponse(appendResponseBuilder.build()); + /** + * Add a response supplier to end of list. This supplier can be used to simulate retries or other + * forms of behavior. + */ + public void addResponse(Supplier response) { + responses.add(response); } public FakeBigQueryWriteImpl addWriteStreamResponse(WriteStream response) { @@ -247,10 +318,34 @@ public FakeBigQueryWriteImpl addFlushRowsResponse(FlushRowsResponse response) { } public FakeBigQueryWriteImpl addConnectionError(Throwable error) { - responses.add(new Response(error)); + responses.add(() -> new Response(error)); return this; } + /** + * Returns the given status, instead of a valid response. This should be treated as an exception + * on the other side. This will not stop processing. + */ + public void addException(com.google.rpc.Status status) { + responses.add(() -> new Response(AppendRowsResponse.newBuilder().setError(status).build())); + } + + /** + * Will abort the connection instead of return a valid response. This should NOT be used to return + * a retriable error (as that will cause an infinite loop.) + */ + public void addNonRetriableError(com.google.rpc.Status status) { + responses.add(() -> new Response(AppendRowsResponse.newBuilder().setError(status).build())); + } + + public void setVerifyOffset(boolean verifyOffset) { + this.verifyOffset = verifyOffset; + } + + public void setReturnErrorDuringExclusiveStreamRetry(boolean retryOnError) { + this.returnErrorDuringExclusiveStreamRetry = retryOnError; + } + public List getCapturedRequests() { return new ArrayList(requests); } @@ -276,6 +371,7 @@ public void reset() { public void setCloseEveryNAppends(long closeAfter) { this.closeAfter = closeAfter; } + /* If setCloseEveryNAppends is greater than 0, then the stream will be aborted every N appends. * setTimesToClose will limit the number of times to do the abort. If it is set to 0, it will * abort every N appends. diff --git a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/StreamWriterTest.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/StreamWriterTest.java index c07b86e17d..ee18e9e68d 100644 --- a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/StreamWriterTest.java +++ b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/StreamWriterTest.java @@ -32,6 +32,7 @@ import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; import com.google.api.gax.grpc.testing.MockGrpcService; import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.AbortedException; import com.google.api.gax.rpc.ApiException; import com.google.api.gax.rpc.InvalidArgumentException; @@ -63,6 +64,7 @@ import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; +import java.util.function.Supplier; import java.util.logging.Logger; import org.junit.After; import org.junit.Assert; @@ -81,8 +83,16 @@ public class StreamWriterTest { private static final String TEST_STREAM_2 = "projects/p/datasets/d2/tables/t2/streams/_default"; private static final String TEST_STREAM_3 = "projects/p/datasets/d3/tables/t3/streams/_default"; private static final String TEST_STREAM_SHORTEN = "projects/p/datasets/d2/tables/t2/_default"; - private static final String EXPLICIT_STEAM = "projects/p/datasets/d1/tables/t1/streams/s1"; + private static final String EXPLICIT_STREAM = "projects/p/datasets/d1/tables/t1/streams/s1"; private static final String TEST_TRACE_ID = "DATAFLOW:job_id"; + private static final int MAX_RETRY_NUM_ATTEMPTS = 3; + private static final RetrySettings retrySettings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500)) + .setRetryDelayMultiplier(1.1) + .setMaxAttempts(MAX_RETRY_NUM_ATTEMPTS) + .setMaxRetryDelay(org.threeten.bp.Duration.ofMinutes(5)) + .build(); private FakeScheduledExecutorService fakeExecutor; private FakeBigQueryWrite testBigQueryWrite; private static MockServiceHelper serviceHelper; @@ -159,6 +169,24 @@ private StreamWriter getTestStreamWriter() throws IOException { .build(); } + private StreamWriter getTestStreamWriterRetryEnabled() throws IOException { + return StreamWriter.newBuilder(TEST_STREAM_1, client) + .setWriterSchema(createProtoSchema()) + .setTraceId(TEST_TRACE_ID) + .setMaxRetryDuration(java.time.Duration.ofSeconds(5)) + .setRetrySettings(retrySettings) + .build(); + } + + private StreamWriter getTestStreamWriterExclusiveRetryEnabled() throws IOException { + return StreamWriter.newBuilder(EXPLICIT_STREAM, client) + .setWriterSchema(createProtoSchema()) + .setTraceId(TEST_TRACE_ID) + .setMaxRetryDuration(java.time.Duration.ofSeconds(5)) + .setRetrySettings(retrySettings) + .build(); + } + private ProtoSchema createProtoSchema() { return createProtoSchema("foo"); } @@ -276,6 +304,39 @@ public void testBuildBigQueryWriteClientInWriter() throws Exception { writer.close(); } + /* DummyResponseSupplierWillFailThenSucceed is used to mock repeated failures, such as retriable + * in-stream errors. This Supplier will fail up to totalFailCount with status failStatus. Once + * totalFailCount is reached, then the provided Response will be returned instead. + */ + private static class DummyResponseSupplierWillFailThenSucceed + implements Supplier { + + private final int totalFailCount; + private int failCount; + private final com.google.rpc.Status failStatus; + private final FakeBigQueryWriteImpl.Response response; + + DummyResponseSupplierWillFailThenSucceed( + FakeBigQueryWriteImpl.Response response, + int totalFailCount, + com.google.rpc.Status failStatus) { + this.totalFailCount = totalFailCount; + this.response = response; + this.failStatus = failStatus; + this.failCount = 0; + } + + @Override + public FakeBigQueryWriteImpl.Response get() { + if (failCount >= totalFailCount) { + return response; + } + failCount++; + return new FakeBigQueryWriteImpl.Response( + AppendRowsResponse.newBuilder().setError(this.failStatus).build()); + } + } + @Test public void testAppendSuccess() throws Exception { StreamWriter writer = getTestStreamWriter(); @@ -454,7 +515,7 @@ public void testEnableConnectionPoolOnExplicitStream() throws Exception { new ThrowingRunnable() { @Override public void run() throws Throwable { - StreamWriter.newBuilder(EXPLICIT_STEAM, client) + StreamWriter.newBuilder(EXPLICIT_STREAM, client) .setEnableConnectionPool(true) .build(); } @@ -471,6 +532,25 @@ public void testShortenStreamNameAllowed() throws Exception { .build(); } + @Test + public void testNoRetryWhenConnectionPoolEnabled() throws Exception { + IllegalArgumentException ex = + assertThrows( + IllegalArgumentException.class, + new ThrowingRunnable() { + @Override + public void run() throws Throwable { + StreamWriter.newBuilder(TEST_STREAM_SHORTEN, client) + .setEnableConnectionPool(true) + .setRetrySettings(RetrySettings.newBuilder().build()) + .build(); + } + }); + assertTrue( + ex.getMessage() + .contains("Trying to enable connection pool while providing retry settings.")); + } + @Test public void testAppendSuccessAndConnectionError() throws Exception { StreamWriter writer = @@ -528,7 +608,7 @@ public void testAppendFailedSchemaError() throws Exception { .build(); com.google.rpc.Status statusProto = com.google.rpc.Status.newBuilder() - .setCode(Code.INVALID_ARGUMENT.getHttpStatusCode()) + .setCode(Code.INVALID_ARGUMENT.ordinal()) .addDetails(Any.pack(storageError)) .build(); @@ -1587,4 +1667,388 @@ public void testBuilderExplicitSetting() throws Exception { .getScopesToApply() .size()); } + + @Test + public void testAppendSuccessAndInternalErrorRetrySuccess() throws Exception { + StreamWriter writer = getTestStreamWriterRetryEnabled(); + testBigQueryWrite.addResponse(createAppendResponse(0)); + testBigQueryWrite.addStatusException( + com.google.rpc.Status.newBuilder().setCode(Code.INTERNAL.ordinal()).build()); + testBigQueryWrite.addResponse(createAppendResponse(0)); + testBigQueryWrite.addResponse(createAppendResponse(0)); + + ApiFuture appendFuture1 = + writer.append(createProtoRows(new String[] {"A"})); + ApiFuture appendFuture2 = + writer.append(createProtoRows(new String[] {"B"})); + ApiFuture appendFuture3 = + writer.append(createProtoRows(new String[] {"C"})); + + assertEquals(0, appendFuture1.get().getAppendResult().getOffset().getValue()); + assertEquals(0, appendFuture2.get().getAppendResult().getOffset().getValue()); + assertEquals(0, appendFuture3.get().getAppendResult().getOffset().getValue()); + + writer.close(); + } + + @Test + public void testAppendSuccessAndInternalQuotaErrorRetrySuccess() throws Exception { + StreamWriter writer = getTestStreamWriterRetryEnabled(); + testBigQueryWrite.addResponse(createAppendResponse(0)); + testBigQueryWrite.addStatusException( + com.google.rpc.Status.newBuilder().setCode(Code.RESOURCE_EXHAUSTED.ordinal()).build()); + testBigQueryWrite.addResponse(createAppendResponse(0)); + testBigQueryWrite.addResponse(createAppendResponse(0)); + + ApiFuture appendFuture1 = + writer.append(createProtoRows(new String[] {"A"})); + ApiFuture appendFuture2 = + writer.append(createProtoRows(new String[] {"B"})); + ApiFuture appendFuture3 = + writer.append(createProtoRows(new String[] {"C"})); + + assertEquals(0, appendFuture1.get().getAppendResult().getOffset().getValue()); + assertEquals(0, appendFuture2.get().getAppendResult().getOffset().getValue()); + assertEquals(0, appendFuture3.get().getAppendResult().getOffset().getValue()); + + writer.close(); + } + + @Test + public void testAppendSuccessAndInternalErrorRetrySuccessExclusive() throws Exception { + // Ensure we return an error from the fake server when a retry is in progress + testBigQueryWrite.setReturnErrorDuringExclusiveStreamRetry(true); + // Ensure messages will be in the inflight queue + testBigQueryWrite.setVerifyOffset(true); + StreamWriter writer = getTestStreamWriterExclusiveRetryEnabled(); + testBigQueryWrite.addResponse(createAppendResponse(0)); + testBigQueryWrite.addResponse( + new DummyResponseSupplierWillFailThenSucceed( + new FakeBigQueryWriteImpl.Response(createAppendResponse(1)), + /* totalFailCount= */ MAX_RETRY_NUM_ATTEMPTS, + com.google.rpc.Status.newBuilder().setCode(Code.INTERNAL.ordinal()).build())); + testBigQueryWrite.addResponse(createAppendResponse(2)); + + ApiFuture appendFuture1 = + writer.append(createProtoRows(new String[] {"A"}), 0); + ApiFuture appendFuture2 = + writer.append(createProtoRows(new String[] {"B"}), 1); + ApiFuture appendFuture3 = + writer.append(createProtoRows(new String[] {"C"}), 2); + + assertEquals(0, appendFuture1.get().getAppendResult().getOffset().getValue()); + assertEquals(1, appendFuture2.get().getAppendResult().getOffset().getValue()); + assertEquals(2, appendFuture3.get().getAppendResult().getOffset().getValue()); + + writer.close(); + } + + @Test + public void testAppendSuccessAndInternalErrorRetryNoOffsetSuccessExclusive() throws Exception { + StreamWriter writer = getTestStreamWriterExclusiveRetryEnabled(); + testBigQueryWrite.addResponse(createAppendResponse(0)); + testBigQueryWrite.addStatusException( + com.google.rpc.Status.newBuilder().setCode(Code.INTERNAL.ordinal()).build()); + testBigQueryWrite.addResponse(createAppendResponse(1)); + + ApiFuture appendFuture1 = + writer.append(createProtoRows(new String[] {"A"})); + ApiFuture appendFuture2 = + writer.append(createProtoRows(new String[] {"B"})); + + assertEquals(0, appendFuture1.get().getAppendResult().getOffset().getValue()); + assertEquals(1, appendFuture2.get().getAppendResult().getOffset().getValue()); + + writer.close(); + } + + @Test + public void testAppendSuccessAndQuotaErrorRetryNoOffsetSuccessExclusive() throws Exception { + StreamWriter writer = getTestStreamWriterExclusiveRetryEnabled(); + testBigQueryWrite.addResponse(createAppendResponse(0)); + testBigQueryWrite.addStatusException( + com.google.rpc.Status.newBuilder().setCode(Code.RESOURCE_EXHAUSTED.ordinal()).build()); + testBigQueryWrite.addResponse(createAppendResponse(1)); + + ApiFuture appendFuture1 = + writer.append(createProtoRows(new String[] {"A"})); + ApiFuture appendFuture2 = + writer.append(createProtoRows(new String[] {"B"})); + + assertEquals(0, appendFuture1.get().getAppendResult().getOffset().getValue()); + assertEquals(1, appendFuture2.get().getAppendResult().getOffset().getValue()); + + writer.close(); + } + + @Test + public void testExclusiveAppendSuccessAndInternalErrorRetrySuccess() throws Exception { + // Ensure we return an error from the fake server when a retry is in progress + testBigQueryWrite.setReturnErrorDuringExclusiveStreamRetry(true); + // Ensure messages will be in the inflight queue + testBigQueryWrite.setVerifyOffset(true); + // fakeBigQueryWrite.setResponseSleep(Duration.ofSeconds(3)); + StreamWriter writer = getTestStreamWriterExclusiveRetryEnabled(); + long appendCount = 20; + for (long i = 0; i < appendCount; i++) { + // Add a retriable error every 3 messages + if (i % 3 == 0) { + testBigQueryWrite.addResponse( + new DummyResponseSupplierWillFailThenSucceed( + new FakeBigQueryWriteImpl.Response(createAppendResponse(i)), + /* totalFailCount= */ MAX_RETRY_NUM_ATTEMPTS, + com.google.rpc.Status.newBuilder().setCode(Code.INTERNAL.ordinal()).build())); + } else { + testBigQueryWrite.addResponse(createAppendResponse(i)); + } + } + + List> futures = new ArrayList<>(); + for (long i = 0; i < appendCount; i++) { + futures.add(writer.append(createProtoRows(new String[] {String.valueOf(i)}), i)); + } + + for (int i = 0; i < appendCount; i++) { + assertThat(futures.get(i).get().getAppendResult().getOffset().getValue()).isEqualTo((long) i); + } + } + + @Test + public void testExclusiveAppendSuccessAndQuotaErrorRetrySuccess() throws Exception { + // Ensure we return an error from the fake server when a retry is in progress + testBigQueryWrite.setReturnErrorDuringExclusiveStreamRetry(true); + // Ensure messages will be in the inflight queue + testBigQueryWrite.setVerifyOffset(true); + // fakeBigQueryWrite.setResponseSleep(Duration.ofSeconds(3)); + StreamWriter writer = getTestStreamWriterExclusiveRetryEnabled(); + long appendCount = 20; + for (long i = 0; i < appendCount; i++) { + // Add a retriable error every 3 messages + if (i % 3 == 0) { + testBigQueryWrite.addResponse( + new DummyResponseSupplierWillFailThenSucceed( + new FakeBigQueryWriteImpl.Response(createAppendResponse(i)), + /* totalFailCount= */ MAX_RETRY_NUM_ATTEMPTS, + com.google.rpc.Status.newBuilder() + .setCode(Code.RESOURCE_EXHAUSTED.ordinal()) + .build())); + } else { + testBigQueryWrite.addResponse(createAppendResponse(i)); + } + } + + List> futures = new ArrayList<>(); + for (long i = 0; i < appendCount; i++) { + futures.add(writer.append(createProtoRows(new String[] {String.valueOf(i)}), i)); + } + + for (int i = 0; i < appendCount; i++) { + assertThat(futures.get(i).get().getAppendResult().getOffset().getValue()).isEqualTo((long) i); + } + } + + @Test + public void testAppendSuccessAndQuotaErrorRetrySuccessExclusive() throws Exception { + StreamWriter writer = getTestStreamWriterExclusiveRetryEnabled(); + testBigQueryWrite.addResponse(createAppendResponse(0)); + testBigQueryWrite.addResponse( + new DummyResponseSupplierWillFailThenSucceed( + new FakeBigQueryWriteImpl.Response(createAppendResponse(1)), + /* totalFailCount= */ MAX_RETRY_NUM_ATTEMPTS, + com.google.rpc.Status.newBuilder().setCode(Code.RESOURCE_EXHAUSTED.ordinal()).build())); + + ApiFuture appendFuture1 = + writer.append(createProtoRows(new String[] {"A"}), 0); + ApiFuture appendFuture2 = + writer.append(createProtoRows(new String[] {"B"}), 1); + + assertEquals(0, appendFuture1.get().getAppendResult().getOffset().getValue()); + assertEquals(1, appendFuture2.get().getAppendResult().getOffset().getValue()); + + writer.close(); + } + + @Test + public void testAppendSuccessAndInternalErrorMaxRetryNumAttempts() throws Exception { + StreamWriter writer = getTestStreamWriterRetryEnabled(); + testBigQueryWrite.addResponse(createAppendResponse(0)); + testBigQueryWrite.addStatusException( + com.google.rpc.Status.newBuilder().setCode(Code.INTERNAL.ordinal()).build()); + testBigQueryWrite.addStatusException( + com.google.rpc.Status.newBuilder().setCode(Code.INTERNAL.ordinal()).build()); + testBigQueryWrite.addStatusException( + com.google.rpc.Status.newBuilder().setCode(Code.INTERNAL.ordinal()).build()); + testBigQueryWrite.addStatusException( + com.google.rpc.Status.newBuilder().setCode(Code.INTERNAL.ordinal()).build()); + testBigQueryWrite.addResponse(createAppendResponse(1)); + + ApiFuture appendFuture1 = + writer.append(createProtoRows(new String[] {"A"})); + ApiFuture appendFuture2 = + writer.append(createProtoRows(new String[] {"B"})); + + assertEquals(0, appendFuture1.get().getAppendResult().getOffset().getValue()); + ExecutionException ex = + assertThrows( + ExecutionException.class, + () -> { + appendFuture2.get(); + }); + assertEquals( + Status.Code.INTERNAL, ((StatusRuntimeException) ex.getCause()).getStatus().getCode()); + } + + @Test + public void testAppendSuccessAndQuotaErrorMaxRetryNumAttempts() throws Exception { + StreamWriter writer = getTestStreamWriterRetryEnabled(); + testBigQueryWrite.addResponse(createAppendResponse(0)); + testBigQueryWrite.addStatusException( + com.google.rpc.Status.newBuilder().setCode(Code.RESOURCE_EXHAUSTED.ordinal()).build()); + testBigQueryWrite.addStatusException( + com.google.rpc.Status.newBuilder().setCode(Code.RESOURCE_EXHAUSTED.ordinal()).build()); + testBigQueryWrite.addStatusException( + com.google.rpc.Status.newBuilder().setCode(Code.RESOURCE_EXHAUSTED.ordinal()).build()); + testBigQueryWrite.addStatusException( + com.google.rpc.Status.newBuilder().setCode(Code.RESOURCE_EXHAUSTED.ordinal()).build()); + testBigQueryWrite.addResponse(createAppendResponse(1)); + + ApiFuture appendFuture1 = + writer.append(createProtoRows(new String[] {"A"})); + ApiFuture appendFuture2 = + writer.append(createProtoRows(new String[] {"B"})); + + assertEquals(0, appendFuture1.get().getAppendResult().getOffset().getValue()); + ExecutionException ex = + assertThrows( + ExecutionException.class, + () -> { + appendFuture2.get(); + }); + assertEquals( + Status.Code.RESOURCE_EXHAUSTED, + ((StatusRuntimeException) ex.getCause()).getStatus().getCode()); + } + + @Test + public void testExclusiveAppendSuccessAndInternalErrorRetryMaxRetry() throws Exception { + testBigQueryWrite.setReturnErrorDuringExclusiveStreamRetry(true); + // Ensure messages will be in the inflight queue + testBigQueryWrite.setResponseSleep(Duration.ofSeconds(1)); + StreamWriter writer = getTestStreamWriterExclusiveRetryEnabled(); + + int appendCount = 10; + for (long i = 0; i < appendCount - 1; i++) { + testBigQueryWrite.addResponse(createAppendResponse(i)); + } + + testBigQueryWrite.addResponse( + new DummyResponseSupplierWillFailThenSucceed( + new FakeBigQueryWriteImpl.Response(createAppendResponse(appendCount)), + /* totalFailCount= */ MAX_RETRY_NUM_ATTEMPTS + 1, + com.google.rpc.Status.newBuilder().setCode(Code.INTERNAL.ordinal()).build())); + + List> futures = new ArrayList<>(); + for (long i = 0; i < appendCount; i++) { + futures.add(writer.append(createProtoRows(new String[] {String.valueOf(i)}), i)); + } + + for (int i = 0; i < appendCount - 1; i++) { + assertThat(futures.get(i).get().getAppendResult().getOffset().getValue()).isEqualTo((long) i); + } + ExecutionException ex = + assertThrows( + ExecutionException.class, + () -> { + futures.get(appendCount - 1).get(); + }); + assertEquals( + Status.Code.INTERNAL, ((StatusRuntimeException) ex.getCause()).getStatus().getCode()); + } + + @Test + public void testExclusiveAppendSuccessAndQuotaErrorRetryMaxRetry() throws Exception { + testBigQueryWrite.setReturnErrorDuringExclusiveStreamRetry(true); + // Ensure messages will be in the inflight queue + testBigQueryWrite.setResponseSleep(Duration.ofSeconds(1)); + StreamWriter writer = getTestStreamWriterExclusiveRetryEnabled(); + + int appendCount = 10; + for (long i = 0; i < appendCount - 1; i++) { + testBigQueryWrite.addResponse(createAppendResponse(i)); + } + + testBigQueryWrite.addResponse( + new DummyResponseSupplierWillFailThenSucceed( + new FakeBigQueryWriteImpl.Response(createAppendResponse(appendCount)), + /* totalFailCount= */ MAX_RETRY_NUM_ATTEMPTS + 1, + com.google.rpc.Status.newBuilder().setCode(Code.RESOURCE_EXHAUSTED.ordinal()).build())); + + List> futures = new ArrayList<>(); + for (long i = 0; i < appendCount; i++) { + futures.add(writer.append(createProtoRows(new String[] {String.valueOf(i)}), i)); + } + + for (int i = 0; i < appendCount - 1; i++) { + assertThat(futures.get(i).get().getAppendResult().getOffset().getValue()).isEqualTo((long) i); + } + ExecutionException ex = + assertThrows( + ExecutionException.class, + () -> { + futures.get(appendCount - 1).get(); + }); + assertEquals( + Status.Code.RESOURCE_EXHAUSTED, + ((StatusRuntimeException) ex.getCause()).getStatus().getCode()); + } + + @Test + public void testAppendSuccessAndNonRetryableError() throws Exception { + StreamWriter writer = getTestStreamWriterRetryEnabled(); + testBigQueryWrite.addResponse(createAppendResponse(0)); + testBigQueryWrite.addStatusException( + com.google.rpc.Status.newBuilder().setCode(Code.INVALID_ARGUMENT.ordinal()).build()); + testBigQueryWrite.addResponse(createAppendResponse(1)); + + ApiFuture appendFuture1 = + writer.append(createProtoRows(new String[] {"A"})); + ApiFuture appendFuture2 = + writer.append(createProtoRows(new String[] {"B"})); + + assertEquals(0, appendFuture1.get().getAppendResult().getOffset().getValue()); + ExecutionException ex = + assertThrows( + ExecutionException.class, + () -> { + appendFuture2.get(); + }); + assertEquals( + Status.Code.INVALID_ARGUMENT, + ((StatusRuntimeException) ex.getCause()).getStatus().getCode()); + } + + @Test + public void testExclusiveAppendSuccessAndNonRetryableError() throws Exception { + StreamWriter writer = getTestStreamWriterExclusiveRetryEnabled(); + testBigQueryWrite.addResponse(createAppendResponse(0)); + testBigQueryWrite.addStatusException( + com.google.rpc.Status.newBuilder().setCode(Code.INVALID_ARGUMENT.ordinal()).build()); + testBigQueryWrite.addResponse(createAppendResponse(1)); + + ApiFuture appendFuture1 = + writer.append(createProtoRows(new String[] {"A"}), 0); + ApiFuture appendFuture2 = + writer.append(createProtoRows(new String[] {"B"}), 1); + + assertEquals(0, appendFuture1.get().getAppendResult().getOffset().getValue()); + ExecutionException ex = + assertThrows( + ExecutionException.class, + () -> { + appendFuture2.get(); + }); + assertEquals( + Status.Code.INVALID_ARGUMENT, + ((StatusRuntimeException) ex.getCause()).getStatus().getCode()); + } } From 044913242a0a0c1f69e6270fd31b912239d96173 Mon Sep 17 00:00:00 2001 From: Alice <65933803+alicejli@users.noreply.github.com> Date: Tue, 10 Oct 2023 09:47:13 -0400 Subject: [PATCH 27/41] build: do not declare javadoc plugin version (#2268) --- pom.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/pom.xml b/pom.xml index 74c5f5877a..78178fc73f 100644 --- a/pom.xml +++ b/pom.xml @@ -216,7 +216,6 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.6.0 html From 5222018eb9fb8a875bd334c2e5d88faf0b095f9c Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 10 Oct 2023 16:56:55 +0200 Subject: [PATCH 28/41] chore(deps): update dependency com.google.cloud:google-cloud-bigquerystorage to v2.43.0 (#2257) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update dependency com.google.cloud:google-cloud-bigquerystorage to v2.43.0 * πŸ¦‰ 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 --- README.md | 2 +- samples/install-without-bom/pom.xml | 2 +- tutorials/JsonWriterDefaultStream/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3f62532b64..d3e12ba865 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerystorage - 2.42.0 + 2.43.0 ``` diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 018797ad11..5a29238302 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -30,7 +30,7 @@ com.google.cloud google-cloud-bigquerystorage - 2.42.0 + 2.43.0 diff --git a/tutorials/JsonWriterDefaultStream/pom.xml b/tutorials/JsonWriterDefaultStream/pom.xml index d2d9302547..36bd1815cc 100644 --- a/tutorials/JsonWriterDefaultStream/pom.xml +++ b/tutorials/JsonWriterDefaultStream/pom.xml @@ -19,7 +19,7 @@ com.google.cloud google-cloud-bigquerystorage - 2.42.0 + 2.43.0 com.google.cloud From 5d3e99c27bf496a76b48e18cae171671de2ed845 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 10 Oct 2023 16:57:21 +0200 Subject: [PATCH 29/41] chore(deps): update dependency com.google.cloud:libraries-bom to v26.24.0 (#2259) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update dependency com.google.cloud:libraries-bom to v26.24.0 * πŸ¦‰ 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 --- README.md | 2 +- samples/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d3e12ba865..3ea8e8140e 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.23.0 + 26.24.0 pom import diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index f989f01286..fba97e29a0 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.cloud libraries-bom - 26.23.0 + 26.24.0 pom import From f6cbea204b5a414d8e2932ad2fd194996685ec39 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 10 Oct 2023 17:55:52 +0200 Subject: [PATCH 30/41] deps: update dependency com.google.cloud:google-cloud-bigquery to v2.33.1 (#2258) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * deps: update dependency com.google.cloud:google-cloud-bigquery to v2.33.1 * πŸ¦‰ 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 --- pom.xml | 2 +- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- tutorials/JsonWriterDefaultStream/pom.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 78178fc73f..9b85c858f8 100644 --- a/pom.xml +++ b/pom.xml @@ -132,7 +132,7 @@ com.google.cloud google-cloud-bigquery - 2.33.0 + 2.33.1 test diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 5a29238302..c316e61f68 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -37,7 +37,7 @@ com.google.cloud google-cloud-bigquery - 2.33.0 + 2.33.1 org.apache.avro diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 4b75923855..9737adc4ab 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -36,7 +36,7 @@ com.google.cloud google-cloud-bigquery - 2.33.0 + 2.33.1 org.apache.avro diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index fba97e29a0..05f0f3d0e9 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -48,7 +48,7 @@ com.google.cloud google-cloud-bigquery - 2.33.0 + 2.33.1 org.apache.avro diff --git a/tutorials/JsonWriterDefaultStream/pom.xml b/tutorials/JsonWriterDefaultStream/pom.xml index 36bd1815cc..78f7b62699 100644 --- a/tutorials/JsonWriterDefaultStream/pom.xml +++ b/tutorials/JsonWriterDefaultStream/pom.xml @@ -24,7 +24,7 @@ com.google.cloud google-cloud-bigquery - 2.33.0 + 2.33.1 org.apache.avro From fb6e38d575800ab4c7c16ae0545fdbd91ea358bd Mon Sep 17 00:00:00 2001 From: Deepankar Dixit <90280028+ddixit14@users.noreply.github.com> Date: Tue, 10 Oct 2023 17:13:45 +0000 Subject: [PATCH 31/41] deps: bumping google-cloud-shared-config to v1.5.8 (#2269) * deps: bumping google-cloud-shared-config to v1.5.8 * chore: adding version line --- google-cloud-bigquerystorage-bom/pom.xml | 2 +- google-cloud-bigquerystorage/pom.xml | 2 +- pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/google-cloud-bigquerystorage-bom/pom.xml b/google-cloud-bigquerystorage-bom/pom.xml index c01ec7ac14..3d47c3e0dc 100644 --- a/google-cloud-bigquerystorage-bom/pom.xml +++ b/google-cloud-bigquerystorage-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.5.7 + 1.5.8 Google Cloud bigquerystorage BOM diff --git a/google-cloud-bigquerystorage/pom.xml b/google-cloud-bigquerystorage/pom.xml index 6e719c116b..3247905596 100644 --- a/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-bigquerystorage/pom.xml @@ -83,7 +83,7 @@ com.google.auto.value auto-value - ${auto-value-annotation.version} + ${auto-value.version} com.google.auto.value diff --git a/pom.xml b/pom.xml index 9b85c858f8..647c36d4c4 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.5.7 + 1.5.8 From 827aaf70bc19de8d67d0f386085877eb5d2fbced Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 10 Oct 2023 19:41:14 +0200 Subject: [PATCH 32/41] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3.17.0 (#2266) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 647c36d4c4..0044417044 100644 --- a/pom.xml +++ b/pom.xml @@ -76,7 +76,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.16.1 + 3.17.0 pom import From 29b62d54d9442736bca9279640c120956fca2f48 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 10 Oct 2023 16:46:52 -0400 Subject: [PATCH 33/41] chore(main): release 2.43.1-SNAPSHOT (#2256) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- google-cloud-bigquerystorage-bom/pom.xml | 16 ++++++++-------- google-cloud-bigquerystorage/pom.xml | 4 ++-- grpc-google-cloud-bigquerystorage-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- pom.xml | 16 ++++++++-------- proto-google-cloud-bigquerystorage-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 14 +++++++------- 11 files changed, 38 insertions(+), 38 deletions(-) diff --git a/google-cloud-bigquerystorage-bom/pom.xml b/google-cloud-bigquerystorage-bom/pom.xml index 3d47c3e0dc..93f2242c21 100644 --- a/google-cloud-bigquerystorage-bom/pom.xml +++ b/google-cloud-bigquerystorage-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigquerystorage-bom - 2.43.0 + 2.43.1-SNAPSHOT pom com.google.cloud @@ -52,37 +52,37 @@ com.google.cloud google-cloud-bigquerystorage - 2.43.0 + 2.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.167.0 + 0.167.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.167.0 + 0.167.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.43.0 + 2.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.167.0 + 0.167.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.167.0 + 0.167.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.43.0 + 2.43.1-SNAPSHOT diff --git a/google-cloud-bigquerystorage/pom.xml b/google-cloud-bigquerystorage/pom.xml index 3247905596..41d2f0fc9b 100644 --- a/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-bigquerystorage/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigquerystorage - 2.43.0 + 2.43.1-SNAPSHOT jar BigQuery Storage https://github.com/googleapis/java-bigquerystorage @@ -11,7 +11,7 @@ com.google.cloud google-cloud-bigquerystorage-parent - 2.43.0 + 2.43.1-SNAPSHOT google-cloud-bigquerystorage diff --git a/grpc-google-cloud-bigquerystorage-v1/pom.xml b/grpc-google-cloud-bigquerystorage-v1/pom.xml index 0b347476d9..69eb281044 100644 --- a/grpc-google-cloud-bigquerystorage-v1/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.43.0 + 2.43.1-SNAPSHOT grpc-google-cloud-bigquerystorage-v1 GRPC library for grpc-google-cloud-bigquerystorage-v1 com.google.cloud google-cloud-bigquerystorage-parent - 2.43.0 + 2.43.1-SNAPSHOT diff --git a/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml b/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml index 44208b07f3..77ad38162a 100644 --- a/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.167.0 + 0.167.1-SNAPSHOT grpc-google-cloud-bigquerystorage-v1beta1 GRPC library for grpc-google-cloud-bigquerystorage-v1beta1 com.google.cloud google-cloud-bigquerystorage-parent - 2.43.0 + 2.43.1-SNAPSHOT diff --git a/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml b/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml index 61204c16bb..a77481ea30 100644 --- a/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.167.0 + 0.167.1-SNAPSHOT grpc-google-cloud-bigquerystorage-v1beta2 GRPC library for grpc-google-cloud-bigquerystorage-v1beta2 com.google.cloud google-cloud-bigquerystorage-parent - 2.43.0 + 2.43.1-SNAPSHOT diff --git a/pom.xml b/pom.xml index 0044417044..2119a7f9d8 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigquerystorage-parent pom - 2.43.0 + 2.43.1-SNAPSHOT BigQuery Storage Parent https://github.com/googleapis/java-bigquerystorage @@ -83,37 +83,37 @@ com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.167.0 + 0.167.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.167.0 + 0.167.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.43.0 + 2.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.167.0 + 0.167.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.167.0 + 0.167.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.43.0 + 2.43.1-SNAPSHOT com.google.cloud google-cloud-bigquerystorage - 2.43.0 + 2.43.1-SNAPSHOT org.json diff --git a/proto-google-cloud-bigquerystorage-v1/pom.xml b/proto-google-cloud-bigquerystorage-v1/pom.xml index 6a06485d5a..2c6c520d18 100644 --- a/proto-google-cloud-bigquerystorage-v1/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.43.0 + 2.43.1-SNAPSHOT proto-google-cloud-bigquerystorage-v1 PROTO library for proto-google-cloud-bigquerystorage-v1 com.google.cloud google-cloud-bigquerystorage-parent - 2.43.0 + 2.43.1-SNAPSHOT diff --git a/proto-google-cloud-bigquerystorage-v1beta1/pom.xml b/proto-google-cloud-bigquerystorage-v1beta1/pom.xml index 9d75f13162..d86a39ac15 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.167.0 + 0.167.1-SNAPSHOT proto-google-cloud-bigquerystorage-v1beta1 PROTO library for proto-google-cloud-bigquerystorage-v1beta1 com.google.cloud google-cloud-bigquerystorage-parent - 2.43.0 + 2.43.1-SNAPSHOT diff --git a/proto-google-cloud-bigquerystorage-v1beta2/pom.xml b/proto-google-cloud-bigquerystorage-v1beta2/pom.xml index 139e86136a..42feb15be1 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.167.0 + 0.167.1-SNAPSHOT proto-google-cloud-bigquerystorage-v1beta2 PROTO library for proto-google-cloud-bigquerystorage-v1beta2 com.google.cloud google-cloud-bigquerystorage-parent - 2.43.0 + 2.43.1-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 9737adc4ab..1054abd82a 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-bigquerystorage - 2.43.0 + 2.43.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index b2729a0d57..2adb47eca5 100644 --- a/versions.txt +++ b/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -google-cloud-bigquerystorage:2.43.0:2.43.0 -grpc-google-cloud-bigquerystorage-v1beta1:0.167.0:0.167.0 -grpc-google-cloud-bigquerystorage-v1beta2:0.167.0:0.167.0 -grpc-google-cloud-bigquerystorage-v1:2.43.0:2.43.0 -proto-google-cloud-bigquerystorage-v1beta1:0.167.0:0.167.0 -proto-google-cloud-bigquerystorage-v1beta2:0.167.0:0.167.0 -proto-google-cloud-bigquerystorage-v1:2.43.0:2.43.0 +google-cloud-bigquerystorage:2.43.0:2.43.1-SNAPSHOT +grpc-google-cloud-bigquerystorage-v1beta1:0.167.0:0.167.1-SNAPSHOT +grpc-google-cloud-bigquerystorage-v1beta2:0.167.0:0.167.1-SNAPSHOT +grpc-google-cloud-bigquerystorage-v1:2.43.0:2.43.1-SNAPSHOT +proto-google-cloud-bigquerystorage-v1beta1:0.167.0:0.167.1-SNAPSHOT +proto-google-cloud-bigquerystorage-v1beta2:0.167.0:0.167.1-SNAPSHOT +proto-google-cloud-bigquerystorage-v1:2.43.0:2.43.1-SNAPSHOT From c7565a6a3a83d078905fc628360d0360d1553e5d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 11 Oct 2023 09:45:37 -0400 Subject: [PATCH 34/41] chore(main): release 2.44.0 (#2270) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- CHANGELOG.md | 14 ++++++++++++++ google-cloud-bigquerystorage-bom/pom.xml | 16 ++++++++-------- google-cloud-bigquerystorage/pom.xml | 4 ++-- grpc-google-cloud-bigquerystorage-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- pom.xml | 16 ++++++++-------- proto-google-cloud-bigquerystorage-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 14 +++++++------- 12 files changed, 52 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5fcba38dc7..4c430186ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [2.44.0](https://github.com/googleapis/java-bigquerystorage/compare/v2.43.0...v2.44.0) (2023-10-10) + + +### Features + +* Add in-stream retry logic for retryable and quota errors ([#2243](https://github.com/googleapis/java-bigquerystorage/issues/2243)) ([6435a04](https://github.com/googleapis/java-bigquerystorage/commit/6435a0491827779b01dd0c3cf184f6578bf33f3e)) + + +### Dependencies + +* Bumping google-cloud-shared-config to v1.5.8 ([#2269](https://github.com/googleapis/java-bigquerystorage/issues/2269)) ([fb6e38d](https://github.com/googleapis/java-bigquerystorage/commit/fb6e38d575800ab4c7c16ae0545fdbd91ea358bd)) +* Update dependency com.google.cloud:google-cloud-bigquery to v2.33.1 ([#2258](https://github.com/googleapis/java-bigquerystorage/issues/2258)) ([f6cbea2](https://github.com/googleapis/java-bigquerystorage/commit/f6cbea204b5a414d8e2932ad2fd194996685ec39)) +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.17.0 ([#2266](https://github.com/googleapis/java-bigquerystorage/issues/2266)) ([827aaf7](https://github.com/googleapis/java-bigquerystorage/commit/827aaf70bc19de8d67d0f386085877eb5d2fbced)) + ## [2.43.0](https://github.com/googleapis/java-bigquerystorage/compare/v2.42.0...v2.43.0) (2023-09-28) diff --git a/google-cloud-bigquerystorage-bom/pom.xml b/google-cloud-bigquerystorage-bom/pom.xml index 93f2242c21..9fa7a2c21d 100644 --- a/google-cloud-bigquerystorage-bom/pom.xml +++ b/google-cloud-bigquerystorage-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigquerystorage-bom - 2.43.1-SNAPSHOT + 2.44.0 pom com.google.cloud @@ -52,37 +52,37 @@ com.google.cloud google-cloud-bigquerystorage - 2.43.1-SNAPSHOT + 2.44.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.167.1-SNAPSHOT + 0.168.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.167.1-SNAPSHOT + 0.168.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.43.1-SNAPSHOT + 2.44.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.167.1-SNAPSHOT + 0.168.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.167.1-SNAPSHOT + 0.168.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.43.1-SNAPSHOT + 2.44.0 diff --git a/google-cloud-bigquerystorage/pom.xml b/google-cloud-bigquerystorage/pom.xml index 41d2f0fc9b..06ea19f2a6 100644 --- a/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-bigquerystorage/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigquerystorage - 2.43.1-SNAPSHOT + 2.44.0 jar BigQuery Storage https://github.com/googleapis/java-bigquerystorage @@ -11,7 +11,7 @@ com.google.cloud google-cloud-bigquerystorage-parent - 2.43.1-SNAPSHOT + 2.44.0 google-cloud-bigquerystorage diff --git a/grpc-google-cloud-bigquerystorage-v1/pom.xml b/grpc-google-cloud-bigquerystorage-v1/pom.xml index 69eb281044..72f7c4e334 100644 --- a/grpc-google-cloud-bigquerystorage-v1/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.43.1-SNAPSHOT + 2.44.0 grpc-google-cloud-bigquerystorage-v1 GRPC library for grpc-google-cloud-bigquerystorage-v1 com.google.cloud google-cloud-bigquerystorage-parent - 2.43.1-SNAPSHOT + 2.44.0 diff --git a/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml b/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml index 77ad38162a..5f95aa030f 100644 --- a/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.167.1-SNAPSHOT + 0.168.0 grpc-google-cloud-bigquerystorage-v1beta1 GRPC library for grpc-google-cloud-bigquerystorage-v1beta1 com.google.cloud google-cloud-bigquerystorage-parent - 2.43.1-SNAPSHOT + 2.44.0 diff --git a/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml b/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml index a77481ea30..17f6c23837 100644 --- a/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml +++ b/grpc-google-cloud-bigquerystorage-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.167.1-SNAPSHOT + 0.168.0 grpc-google-cloud-bigquerystorage-v1beta2 GRPC library for grpc-google-cloud-bigquerystorage-v1beta2 com.google.cloud google-cloud-bigquerystorage-parent - 2.43.1-SNAPSHOT + 2.44.0 diff --git a/pom.xml b/pom.xml index 2119a7f9d8..809eb53a11 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigquerystorage-parent pom - 2.43.1-SNAPSHOT + 2.44.0 BigQuery Storage Parent https://github.com/googleapis/java-bigquerystorage @@ -83,37 +83,37 @@ com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.167.1-SNAPSHOT + 0.168.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.167.1-SNAPSHOT + 0.168.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.43.1-SNAPSHOT + 2.44.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.167.1-SNAPSHOT + 0.168.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta2 - 0.167.1-SNAPSHOT + 0.168.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1 - 2.43.1-SNAPSHOT + 2.44.0 com.google.cloud google-cloud-bigquerystorage - 2.43.1-SNAPSHOT + 2.44.0 org.json diff --git a/proto-google-cloud-bigquerystorage-v1/pom.xml b/proto-google-cloud-bigquerystorage-v1/pom.xml index 2c6c520d18..7e51bdb8d2 100644 --- a/proto-google-cloud-bigquerystorage-v1/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1 - 2.43.1-SNAPSHOT + 2.44.0 proto-google-cloud-bigquerystorage-v1 PROTO library for proto-google-cloud-bigquerystorage-v1 com.google.cloud google-cloud-bigquerystorage-parent - 2.43.1-SNAPSHOT + 2.44.0 diff --git a/proto-google-cloud-bigquerystorage-v1beta1/pom.xml b/proto-google-cloud-bigquerystorage-v1beta1/pom.xml index d86a39ac15..d19a1f7a4d 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.167.1-SNAPSHOT + 0.168.0 proto-google-cloud-bigquerystorage-v1beta1 PROTO library for proto-google-cloud-bigquerystorage-v1beta1 com.google.cloud google-cloud-bigquerystorage-parent - 2.43.1-SNAPSHOT + 2.44.0 diff --git a/proto-google-cloud-bigquerystorage-v1beta2/pom.xml b/proto-google-cloud-bigquerystorage-v1beta2/pom.xml index 42feb15be1..725a489ae6 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/pom.xml +++ b/proto-google-cloud-bigquerystorage-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta2 - 0.167.1-SNAPSHOT + 0.168.0 proto-google-cloud-bigquerystorage-v1beta2 PROTO library for proto-google-cloud-bigquerystorage-v1beta2 com.google.cloud google-cloud-bigquerystorage-parent - 2.43.1-SNAPSHOT + 2.44.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 1054abd82a..50297fbf26 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-bigquerystorage - 2.43.1-SNAPSHOT + 2.44.0 diff --git a/versions.txt b/versions.txt index 2adb47eca5..c630f75a23 100644 --- a/versions.txt +++ b/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -google-cloud-bigquerystorage:2.43.0:2.43.1-SNAPSHOT -grpc-google-cloud-bigquerystorage-v1beta1:0.167.0:0.167.1-SNAPSHOT -grpc-google-cloud-bigquerystorage-v1beta2:0.167.0:0.167.1-SNAPSHOT -grpc-google-cloud-bigquerystorage-v1:2.43.0:2.43.1-SNAPSHOT -proto-google-cloud-bigquerystorage-v1beta1:0.167.0:0.167.1-SNAPSHOT -proto-google-cloud-bigquerystorage-v1beta2:0.167.0:0.167.1-SNAPSHOT -proto-google-cloud-bigquerystorage-v1:2.43.0:2.43.1-SNAPSHOT +google-cloud-bigquerystorage:2.44.0:2.44.0 +grpc-google-cloud-bigquerystorage-v1beta1:0.168.0:0.168.0 +grpc-google-cloud-bigquerystorage-v1beta2:0.168.0:0.168.0 +grpc-google-cloud-bigquerystorage-v1:2.44.0:2.44.0 +proto-google-cloud-bigquerystorage-v1beta1:0.168.0:0.168.0 +proto-google-cloud-bigquerystorage-v1beta2:0.168.0:0.168.0 +proto-google-cloud-bigquerystorage-v1:2.44.0:2.44.0 From e4742416466d96f5b6b7948e7c4ffb933fa99a03 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 17 Oct 2023 21:28:14 +0200 Subject: [PATCH 35/41] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.6.0 (#2280) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.5.8` -> `1.6.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.cloud:google-cloud-shared-config/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.cloud:google-cloud-shared-config/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.cloud:google-cloud-shared-config/1.5.8/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.cloud:google-cloud-shared-config/1.5.8/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
googleapis/java-shared-config (com.google.cloud:google-cloud-shared-config) ### [`v1.6.0`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#160-2023-10-17) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.5.8...v1.6.0) ##### Features - Add graal-sdk dependency management to java-shared-config ([#​683](https://togithub.com/googleapis/java-shared-config/issues/683)) ([5cd1d84](https://togithub.com/googleapis/java-shared-config/commit/5cd1d84bf2d68dbe8f9fa7e02d9065082bd56726))
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/java-bigquerystorage). --- README.md | 8 ++++---- google-cloud-bigquerystorage-bom/pom.xml | 2 +- pom.xml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3ea8e8140e..228f224bd3 100644 --- a/README.md +++ b/README.md @@ -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.24.0') +implementation platform('com.google.cloud:libraries-bom:26.25.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.43.0' +implementation 'com.google.cloud:google-cloud-bigquerystorage:2.44.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "2.43.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "2.44.0" ``` @@ -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.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerystorage/2.44.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 diff --git a/google-cloud-bigquerystorage-bom/pom.xml b/google-cloud-bigquerystorage-bom/pom.xml index 9fa7a2c21d..e0f3f20122 100644 --- a/google-cloud-bigquerystorage-bom/pom.xml +++ b/google-cloud-bigquerystorage-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.5.8 + 1.6.0 Google Cloud bigquerystorage BOM diff --git a/pom.xml b/pom.xml index 809eb53a11..c4292a290e 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.5.8 + 1.6.0 From 2b7887d0bab1e0534f1616f3b64a28d7a57518d6 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 17 Oct 2023 21:28:19 +0200 Subject: [PATCH 36/41] deps: update dependency org.json:json to v20231013 [security] (#2278) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.json:json](https://togithub.com/douglascrockford/JSON-java) | `20230618` -> `20231013` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.json:json/20231013?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.json:json/20231013?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.json:json/20230618/20231013?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.json:json/20230618/20231013?slim=true)](https://docs.renovatebot.com/merge-confidence/) | ### GitHub Vulnerability Alerts #### [CVE-2023-5072](https://nvd.nist.gov/vuln/detail/CVE-2023-5072) Denial of Service in JSON-Java versions prior to 20230618. Β A bug in the parser means that an input string of modest size can lead to indefinite amounts of memory being used. --- ### Release Notes
douglascrockford/JSON-java (org.json:json) ### [`v20231013`](https://togithub.com/stleary/JSON-java/releases/tag/20231013) [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20230618...20231013) | Pull Request | Description | |-----|-----| |[#​793](https://togithub.com/douglascrockford/JSON-java/issues/793)| Reverted [#​761](https://togithub.com/douglascrockford/JSON-java/issues/761)| |[#​792](https://togithub.com/douglascrockford/JSON-java/issues/792)| update the docs for release [`2023101`](https://togithub.com/douglascrockford/JSON-java/commit/20231013)| |[#​783](https://togithub.com/douglascrockford/JSON-java/issues/783) |optLong vs getLong inconsistencies|Β  |[#​782](https://togithub.com/douglascrockford/JSON-java/issues/782)| Fix XMLTest.testIndentComplicatedJsonObjectWithArrayAndWithConfig() for Windows| |[#​779](https://togithub.com/douglascrockford/JSON-java/issues/779) |add validity check for JSONObject constructors| |[#​778](https://togithub.com/douglascrockford/JSON-java/issues/778) |Fix XMLTest.testIndentComplicatedJsonObjectWithArrayAndWithConfig() for Windows| |[#​776](https://togithub.com/douglascrockford/JSON-java/issues/776) |Update \[JUnit to version 4.13.2| |[#​774](https://togithub.com/douglascrockford/JSON-java/issues/774) |Removing unneeded synchronization| |[#​773](https://togithub.com/douglascrockford/JSON-java/issues/773) |Add optJSONArray method to JSONObject with a default value| |[#​772](https://togithub.com/douglascrockford/JSON-java/issues/772) |Disallow nested objects and arrays as keys in objects| |[#​779](https://togithub.com/douglascrockford/JSON-java/issues/779) |Unit test cleanup| |[#​769](https://togithub.com/douglascrockford/JSON-java/issues/769) |Addressed Java 17 compile warnings| |[#​764](https://togithub.com/douglascrockford/JSON-java/issues/764)| Update CodeQL action version| |[#​761](https://togithub.com/douglascrockford/JSON-java/issues/761) |Add module-info| |[#​759](https://togithub.com/douglascrockford/JSON-java/issues/759) |JSON parsing should detect embeddedΒ | |[#​753](https://togithub.com/douglascrockford/JSON-java/issues/753)| Updated new object methods| |[#​752](https://togithub.com/douglascrockford/JSON-java/issues/752)|Fixes possible unit test bug when compiling/testing on Windows|
--- ### Configuration πŸ“… **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/java-bigquerystorage). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c4292a290e..a85dcf69f8 100644 --- a/pom.xml +++ b/pom.xml @@ -118,7 +118,7 @@ org.json json - 20230618 + 20231013 From 0c5a60b9ead20cbceda08805229ad6fa3f91c7e3 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 17 Oct 2023 21:28:30 +0200 Subject: [PATCH 37/41] deps: update dependency org.json:json to v20231013 - abandoned (#2276) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.json:json](https://togithub.com/douglascrockford/JSON-java) | `20230618` -> `20231013` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.json:json/20231013?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.json:json/20231013?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.json:json/20230618/20231013?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.json:json/20230618/20231013?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
douglascrockford/JSON-java (org.json:json) ### [`v20231013`](https://togithub.com/stleary/JSON-java/releases/tag/20231013) [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20230618...20231013) | Pull Request | Description | |-----|-----| |[#​793](https://togithub.com/douglascrockford/JSON-java/issues/793)| Reverted [#​761](https://togithub.com/douglascrockford/JSON-java/issues/761)| |[#​792](https://togithub.com/douglascrockford/JSON-java/issues/792)| update the docs for release [`2023101`](https://togithub.com/douglascrockford/JSON-java/commit/20231013)| |[#​783](https://togithub.com/douglascrockford/JSON-java/issues/783) |optLong vs getLong inconsistencies|Β  |[#​782](https://togithub.com/douglascrockford/JSON-java/issues/782)| Fix XMLTest.testIndentComplicatedJsonObjectWithArrayAndWithConfig() for Windows| |[#​779](https://togithub.com/douglascrockford/JSON-java/issues/779) |add validity check for JSONObject constructors| |[#​778](https://togithub.com/douglascrockford/JSON-java/issues/778) |Fix XMLTest.testIndentComplicatedJsonObjectWithArrayAndWithConfig() for Windows| |[#​776](https://togithub.com/douglascrockford/JSON-java/issues/776) |Update \[JUnit to version 4.13.2| |[#​774](https://togithub.com/douglascrockford/JSON-java/issues/774) |Removing unneeded synchronization| |[#​773](https://togithub.com/douglascrockford/JSON-java/issues/773) |Add optJSONArray method to JSONObject with a default value| |[#​772](https://togithub.com/douglascrockford/JSON-java/issues/772) |Disallow nested objects and arrays as keys in objects| |[#​779](https://togithub.com/douglascrockford/JSON-java/issues/779) |Unit test cleanup| |[#​769](https://togithub.com/douglascrockford/JSON-java/issues/769) |Addressed Java 17 compile warnings| |[#​764](https://togithub.com/douglascrockford/JSON-java/issues/764)| Update CodeQL action version| |[#​761](https://togithub.com/douglascrockford/JSON-java/issues/761) |Add module-info| |[#​759](https://togithub.com/douglascrockford/JSON-java/issues/759) |JSON parsing should detect embeddedΒ | |[#​753](https://togithub.com/douglascrockford/JSON-java/issues/753)| Updated new object methods| |[#​752](https://togithub.com/douglascrockford/JSON-java/issues/752)|Fixes possible unit test bug when compiling/testing on Windows|
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/java-bigquerystorage). From d55ce5edd6f728cfce7ce0d59cf29d6e9d14d80a Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 17 Oct 2023 21:30:09 +0200 Subject: [PATCH 38/41] deps: update dependency com.google.cloud:google-cloud-bigquery to v2.33.2 (#2274) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-bigquery](https://togithub.com/googleapis/java-bigquery) | `2.33.1` -> `2.33.2` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.cloud:google-cloud-bigquery/2.33.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.cloud:google-cloud-bigquery/2.33.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.cloud:google-cloud-bigquery/2.33.1/2.33.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.cloud:google-cloud-bigquery/2.33.1/2.33.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-bigquery (com.google.cloud:google-cloud-bigquery) ### [`v2.33.2`](https://togithub.com/googleapis/java-bigquery/blob/HEAD/CHANGELOG.md#2332-2023-10-11) [Compare Source](https://togithub.com/googleapis/java-bigquery/compare/v2.33.1...v2.33.2) ##### Bug Fixes - GetDouble in read API path ([#​2919](https://togithub.com/googleapis/java-bigquery/issues/2919)) ([436ee8e](https://togithub.com/googleapis/java-bigquery/commit/436ee8ebe9104f6ca721f1a14bd409158c7bdb5a)) ##### Dependencies - Update dependency com.google.api.grpc:proto-google-cloud-bigqueryconnection-v1 to v2.29.0 ([#​2911](https://togithub.com/googleapis/java-bigquery/issues/2911)) ([052f5c2](https://togithub.com/googleapis/java-bigquery/commit/052f5c2f722243be39c0d93b1f81b81a0db48ef1)) - Update dependency com.google.apis:google-api-services-bigquery to v2-rev20230925-2.0.0 ([#​2921](https://togithub.com/googleapis/java-bigquery/issues/2921)) ([f0fb64f](https://togithub.com/googleapis/java-bigquery/commit/f0fb64f43817c5aa53adb6c5152afe3fd44b7df1)) - Update dependency com.google.cloud:google-cloud-datacatalog-bom to v1.33.0 ([#​2912](https://togithub.com/googleapis/java-bigquery/issues/2912)) ([e053494](https://togithub.com/googleapis/java-bigquery/commit/e05349476a8d987b2cd24ee6a80b2d9b7b9463ee)) - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.17.0 ([#​2931](https://togithub.com/googleapis/java-bigquery/issues/2931)) ([25a94f1](https://togithub.com/googleapis/java-bigquery/commit/25a94f1da840c0cb32bed882e18f7b10f9890d04)) - Update github/codeql-action action to v2.22.0 ([#​2926](https://togithub.com/googleapis/java-bigquery/issues/2926)) ([33ce4ae](https://togithub.com/googleapis/java-bigquery/commit/33ce4aee8b10f630212d96901af00f063c43f440)) - Update github/codeql-action action to v2.22.1 ([#​2934](https://togithub.com/googleapis/java-bigquery/issues/2934)) ([7ae7b99](https://togithub.com/googleapis/java-bigquery/commit/7ae7b99ab21fcd6e74cbaa95e750da961c09ae80)) - Update ossf/scorecard-action action to v2.3.0 ([#​2927](https://togithub.com/googleapis/java-bigquery/issues/2927)) ([93bfd8e](https://togithub.com/googleapis/java-bigquery/commit/93bfd8eb7fe35121e97b06cf8b103a3960fe9535))
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/java-bigquerystorage). --- pom.xml | 2 +- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- tutorials/JsonWriterDefaultStream/pom.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index a85dcf69f8..e5875a2ed4 100644 --- a/pom.xml +++ b/pom.xml @@ -132,7 +132,7 @@ com.google.cloud google-cloud-bigquery - 2.33.1 + 2.33.2 test diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index c316e61f68..e9eff137a1 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -37,7 +37,7 @@ com.google.cloud google-cloud-bigquery - 2.33.1 + 2.33.2 org.apache.avro diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 50297fbf26..820d475abd 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -36,7 +36,7 @@ com.google.cloud google-cloud-bigquery - 2.33.1 + 2.33.2 org.apache.avro diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 05f0f3d0e9..945eef3d21 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -48,7 +48,7 @@ com.google.cloud google-cloud-bigquery - 2.33.1 + 2.33.2 org.apache.avro diff --git a/tutorials/JsonWriterDefaultStream/pom.xml b/tutorials/JsonWriterDefaultStream/pom.xml index 78f7b62699..ca3af66e26 100644 --- a/tutorials/JsonWriterDefaultStream/pom.xml +++ b/tutorials/JsonWriterDefaultStream/pom.xml @@ -24,7 +24,7 @@ com.google.cloud google-cloud-bigquery - 2.33.1 + 2.33.2 org.apache.avro From 2ea9cafea6dd6fb1b16164a5f2ad6decfc4b5af9 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 17 Oct 2023 21:30:15 +0200 Subject: [PATCH 39/41] chore(deps): update dependency com.google.cloud:google-cloud-bigquerystorage to v2.44.0 (#2273) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-bigquerystorage](https://togithub.com/googleapis/java-bigquerystorage) | `2.43.0` -> `2.44.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.cloud:google-cloud-bigquerystorage/2.44.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.cloud:google-cloud-bigquerystorage/2.44.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.cloud:google-cloud-bigquerystorage/2.43.0/2.44.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.cloud:google-cloud-bigquerystorage/2.43.0/2.44.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-bigquerystorage (com.google.cloud:google-cloud-bigquerystorage) ### [`v2.44.0`](https://togithub.com/googleapis/java-bigquerystorage/blob/HEAD/CHANGELOG.md#2440-2023-10-10) [Compare Source](https://togithub.com/googleapis/java-bigquerystorage/compare/v2.43.0...v2.44.0) ##### Features - Add in-stream retry logic for retryable and quota errors ([#​2243](https://togithub.com/googleapis/java-bigquerystorage/issues/2243)) ([6435a04](https://togithub.com/googleapis/java-bigquerystorage/commit/6435a0491827779b01dd0c3cf184f6578bf33f3e)) ##### Dependencies - Bumping google-cloud-shared-config to v1.5.8 ([#​2269](https://togithub.com/googleapis/java-bigquerystorage/issues/2269)) ([fb6e38d](https://togithub.com/googleapis/java-bigquerystorage/commit/fb6e38d575800ab4c7c16ae0545fdbd91ea358bd)) - Update dependency com.google.cloud:google-cloud-bigquery to v2.33.1 ([#​2258](https://togithub.com/googleapis/java-bigquerystorage/issues/2258)) ([f6cbea2](https://togithub.com/googleapis/java-bigquerystorage/commit/f6cbea204b5a414d8e2932ad2fd194996685ec39)) - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.17.0 ([#​2266](https://togithub.com/googleapis/java-bigquerystorage/issues/2266)) ([827aaf7](https://togithub.com/googleapis/java-bigquerystorage/commit/827aaf70bc19de8d67d0f386085877eb5d2fbced))
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/java-bigquerystorage). --- README.md | 2 +- samples/install-without-bom/pom.xml | 2 +- tutorials/JsonWriterDefaultStream/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 228f224bd3..b8695abe1b 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerystorage - 2.43.0 + 2.44.0 ``` diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index e9eff137a1..3189abe3ab 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -30,7 +30,7 @@ com.google.cloud google-cloud-bigquerystorage - 2.43.0 + 2.44.0 diff --git a/tutorials/JsonWriterDefaultStream/pom.xml b/tutorials/JsonWriterDefaultStream/pom.xml index ca3af66e26..4ff05562e9 100644 --- a/tutorials/JsonWriterDefaultStream/pom.xml +++ b/tutorials/JsonWriterDefaultStream/pom.xml @@ -19,7 +19,7 @@ com.google.cloud google-cloud-bigquerystorage - 2.43.0 + 2.44.0 com.google.cloud From ab803ad76ca24de5f954f00f52820bbd8394dfcf Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 17 Oct 2023 21:48:16 +0200 Subject: [PATCH 40/41] chore(deps): update dependency com.google.cloud:libraries-bom to v26.25.0 (#2277) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.24.0` -> `26.25.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.cloud:libraries-bom/26.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.cloud:libraries-bom/26.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.cloud:libraries-bom/26.24.0/26.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.cloud:libraries-bom/26.24.0/26.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-cloud-bom (com.google.cloud:libraries-bom) ### [`v26.25.0`](https://togithub.com/googleapis/java-cloud-bom/blob/HEAD/CHANGELOG.md#26250-2023-10-14) [Compare Source](https://togithub.com/googleapis/java-cloud-bom/compare/v26.24.0...v26.25.0) ##### Dependencies - update dependency com.google.cloud:first-party-dependencies to v3.17.0 ([#​6226](https://togithub.com/googleapis/java-cloud-bom/issues/6226)) ([df72701](https://togithub.com/googleapis/java-cloud-bom/commit/df72701ecb3b339cdc1b3af9d137de7d95ed50aa)) - update dependency com.google.cloud:gapic-libraries-bom to v1.22.0 ([#​6240](https://togithub.com/googleapis/java-cloud-bom/issues/6240)) ([addef06](https://togithub.com/googleapis/java-cloud-bom/commit/addef066873995631b99009f8ea6f7cd58088b5f)) - update dependency com.google.cloud:google-cloud-bigquery to v2.33.2 ([#​6236](https://togithub.com/googleapis/java-cloud-bom/issues/6236)) ([68c7e4e](https://togithub.com/googleapis/java-cloud-bom/commit/68c7e4e4197db0da9d776b93d1fe0efdaa3165db)) - update dependency com.google.cloud:google-cloud-bigquerystorage-bom to v2.44.0 ([#​6235](https://togithub.com/googleapis/java-cloud-bom/issues/6235)) ([53d1f18](https://togithub.com/googleapis/java-cloud-bom/commit/53d1f18c3f63e28a69db44e37724b7eba6146bc9)) - update dependency com.google.cloud:google-cloud-bigtable-bom to v2.28.0 ([#​6241](https://togithub.com/googleapis/java-cloud-bom/issues/6241)) ([9b145d6](https://togithub.com/googleapis/java-cloud-bom/commit/9b145d6e3883fe91a78d7b097be1358d34e41d54)) - update dependency com.google.cloud:google-cloud-datastore-bom to v2.17.3 ([#​6228](https://togithub.com/googleapis/java-cloud-bom/issues/6228)) ([f2d317d](https://togithub.com/googleapis/java-cloud-bom/commit/f2d317def4b5f7f5e924136acbd07314976ef15e)) - update dependency com.google.cloud:google-cloud-firestore-bom to v3.15.1 ([#​6233](https://togithub.com/googleapis/java-cloud-bom/issues/6233)) ([43553e8](https://togithub.com/googleapis/java-cloud-bom/commit/43553e81ffc9d134652e8da7995917e11a9ae5c6)) - update dependency com.google.cloud:google-cloud-logging-bom to v3.15.11 ([#​6230](https://togithub.com/googleapis/java-cloud-bom/issues/6230)) ([6e9467a](https://togithub.com/googleapis/java-cloud-bom/commit/6e9467a4fa2c3e42b92792b3c8266d72e4982722)) - update dependency com.google.cloud:google-cloud-logging-logback to v0.130.24-alpha ([#​6234](https://togithub.com/googleapis/java-cloud-bom/issues/6234)) ([16a9be9](https://togithub.com/googleapis/java-cloud-bom/commit/16a9be91e49cf82c20d6bea56fd25c3905b2b14f)) - update dependency com.google.cloud:google-cloud-nio to v0.127.5 ([#​6238](https://togithub.com/googleapis/java-cloud-bom/issues/6238)) ([db7424d](https://togithub.com/googleapis/java-cloud-bom/commit/db7424d9b1368e5f437dcbc5f14a0b2e6d5cd0b2)) - update dependency com.google.cloud:google-cloud-pubsub-bom to v1.125.6 ([#​6231](https://togithub.com/googleapis/java-cloud-bom/issues/6231)) ([6a2418b](https://togithub.com/googleapis/java-cloud-bom/commit/6a2418be05d99470831dcf1ba3b1f0927cdfdd30)) - update dependency com.google.cloud:google-cloud-pubsublite-bom to v1.12.16 ([#​6239](https://togithub.com/googleapis/java-cloud-bom/issues/6239)) ([585750a](https://togithub.com/googleapis/java-cloud-bom/commit/585750a437826986c180b07f866a5133126f4455)) - update dependency com.google.cloud:google-cloud-spanner-bom to v6.50.1 ([#​6229](https://togithub.com/googleapis/java-cloud-bom/issues/6229)) ([9ce48f0](https://togithub.com/googleapis/java-cloud-bom/commit/9ce48f0a0967ce164a61fe8d8f63bbbdddbaf664)) - update dependency com.google.cloud:google-cloud-spanner-jdbc to v2.14.0 ([#​6242](https://togithub.com/googleapis/java-cloud-bom/issues/6242)) ([ff93f99](https://togithub.com/googleapis/java-cloud-bom/commit/ff93f99ebfdc0226a59487cb8c91e4baaac96bcd)) - update dependency com.google.cloud:google-cloud-storage-bom to v2.28.0 ([#​6243](https://togithub.com/googleapis/java-cloud-bom/issues/6243)) ([a2a0d44](https://togithub.com/googleapis/java-cloud-bom/commit/a2a0d44b9f1dacbd964ef15939eb9f02805093f4)) - update dependency com.google.googlejavaformat:google-java-format to v1.18.1 ([#​6221](https://togithub.com/googleapis/java-cloud-bom/issues/6221)) ([8a07930](https://togithub.com/googleapis/java-cloud-bom/commit/8a07930be3b3f86536af5dc0fb6906401772fd08))
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/java-bigquerystorage). --- README.md | 2 +- samples/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b8695abe1b..b66d3e3f2a 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.24.0 + 26.25.0 pom import diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 945eef3d21..10d6fc2ede 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.cloud libraries-bom - 26.24.0 + 26.25.0 pom import From 8c78515979e22a802e70def26dafa9512d785268 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 19 Oct 2023 16:04:07 +0200 Subject: [PATCH 41/41] deps: update actions/checkout digest to b4ffde6 (#2281) --- .github/workflows/ci.yaml | 14 +++++++------- .github/workflows/samples.yaml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 23304dfc39..4fdebf7e0a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,7 +14,7 @@ jobs: matrix: java: [11, 17] steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/setup-java@v2 with: distribution: temurin @@ -28,7 +28,7 @@ jobs: name: "units (8)" runs-on: ubuntu-latest steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/setup-java@v3 with: java-version: 8 @@ -48,7 +48,7 @@ jobs: windows: runs-on: windows-latest steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/setup-java@v2 with: distribution: temurin @@ -63,7 +63,7 @@ jobs: matrix: java: [17] steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/setup-java@v2 with: distribution: temurin @@ -73,7 +73,7 @@ jobs: javadoc: runs-on: ubuntu-latest steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/setup-java@v3 with: distribution: temurin @@ -85,7 +85,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/setup-java@v2 with: distribution: temurin @@ -97,7 +97,7 @@ jobs: clirr: runs-on: ubuntu-latest steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/setup-java@v2 with: distribution: temurin diff --git a/.github/workflows/samples.yaml b/.github/workflows/samples.yaml index 7ddc641ac4..46de89b51a 100644 --- a/.github/workflows/samples.yaml +++ b/.github/workflows/samples.yaml @@ -7,7 +7,7 @@ jobs: checkstyle: runs-on: ubuntu-latest steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/setup-java@v1 with: java-version: 8