From 8871cfd9bd0a19ef3e425eeeb90d4dabb760e8d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ho=C3=A0ng=20Pham?= Date: Mon, 22 Jun 2026 22:15:38 +0000 Subject: [PATCH] test(bigtable): quote only the schema bundle ID in ExecuteQueryIT Modify the allTypes test in ExecuteQueryIT to only quote the schema bundle ID instead of the whole message in the CAST expression. Fixes: b/526667198 --- .../com/google/cloud/bigtable/data/v2/it/ExecuteQueryIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-bigtable/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/ExecuteQueryIT.java b/java-bigtable/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/ExecuteQueryIT.java index f72ebf1437c9..ca169d6985cd 100644 --- a/java-bigtable/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/ExecuteQueryIT.java +++ b/java-bigtable/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/ExecuteQueryIT.java @@ -211,10 +211,10 @@ public void allTypes() throws Exception { + " as mapCol, " + " CAST(b'\022\005Lover' AS `" + schemaBundleId - + ".com.google.cloud.bigtable.data.v2.test.Album`) as protoCol, CAST('JAZZ' AS" + + "`.com.google.cloud.bigtable.data.v2.test.Album) as protoCol, CAST('JAZZ' AS" + " `" + schemaBundleId - + ".com.google.cloud.bigtable.data.v2.test.Genre`) as enumCol FROM `" + + "`.com.google.cloud.bigtable.data.v2.test.Genre) as enumCol FROM `" + tableId + "` WHERE _key='" + uniquePrefix