Skip to content

Commit 8871cfd

Browse files
committed
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
1 parent b721e43 commit 8871cfd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • java-bigtable/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it

java-bigtable/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/ExecuteQueryIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,10 @@ public void allTypes() throws Exception {
211211
+ " as mapCol, "
212212
+ " CAST(b'\022\005Lover' AS `"
213213
+ schemaBundleId
214-
+ ".com.google.cloud.bigtable.data.v2.test.Album`) as protoCol, CAST('JAZZ' AS"
214+
+ "`.com.google.cloud.bigtable.data.v2.test.Album) as protoCol, CAST('JAZZ' AS"
215215
+ " `"
216216
+ schemaBundleId
217-
+ ".com.google.cloud.bigtable.data.v2.test.Genre`) as enumCol FROM `"
217+
+ "`.com.google.cloud.bigtable.data.v2.test.Genre) as enumCol FROM `"
218218
+ tableId
219219
+ "` WHERE _key='"
220220
+ uniquePrefix

0 commit comments

Comments
 (0)