From 1d9d8be27c1d9ed1b5ad19aaeb68ec6be7bbcd86 Mon Sep 17 00:00:00 2001 From: Mattie Fu Date: Fri, 24 Mar 2023 12:18:21 -0400 Subject: [PATCH 1/2] fix: mark readRow requests as unary operations --- .../bigtable/data/v2/stub/EnhancedBigtableStub.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStub.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStub.java index 2b502249578a..57c6d3337cca 100644 --- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStub.java +++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStub.java @@ -395,13 +395,13 @@ public UnaryCallable createReadRowCallable(RowAdapter ReadRowsUserCallable readRowCallable = new ReadRowsUserCallable<>(readRowsCallable, requestContext); - ServerStreamingCallable traced = - new TracedServerStreamingCallable<>( - readRowCallable, clientContext.getTracerFactory(), getSpanName("ReadRow")); + ReadRowsFirstCallable firstRow = new ReadRowsFirstCallable<>(readRowCallable); - ReadRowsFirstCallable firstRow = new ReadRowsFirstCallable<>(traced); + UnaryCallable traced = + new TracedUnaryCallable<>( + firstRow, clientContext.getTracerFactory(), getSpanName("ReadRow")); - return firstRow.withDefaultCallContext(clientContext.getDefaultCallContext()); + return traced.withDefaultCallContext(clientContext.getDefaultCallContext()); } /** From f75286f02f84577a9cff0ba8382be33cc3f302b3 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 24 Mar 2023 16:54:21 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bdad1a62ede0..94f3317dfe25 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ If you are using Maven without 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.10.0') +implementation platform('com.google.cloud:libraries-bom:26.11.0') implementation 'com.google.cloud:google-cloud-bigtable' ```