Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit 6a2ef7e

Browse files
fix integration test
Change-Id: Iaee7b16aa966aad6409ec6f7aec88fc0e6d59e56
1 parent 89f2c09 commit 6a2ef7e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public static void setUpAll() throws IOException {
104104
public void selectStar() {
105105
PreparedStatement preparedStatement =
106106
dataClient.prepareStatement(
107-
"SELECT * FROM " + tableId + " WHERE _key LIKE '" + uniquePrefix + "%'",
107+
"SELECT * FROM " + tableId.getTableId() + " WHERE _key LIKE '" + uniquePrefix + "%'",
108108
new HashMap<>());
109109
BoundStatement statement = preparedStatement.bind().build();
110110
try (ResultSet rs = dataClient.executeQuery(statement)) {
@@ -131,7 +131,7 @@ public void withHistoryQuery() {
131131
PreparedStatement preparedStatement =
132132
dataClient.prepareStatement(
133133
"SELECT * FROM `"
134-
+ tableId
134+
+ tableId.getTableId()
135135
+ "`(with_history => true) WHERE _key LIKE '"
136136
+ uniquePrefix
137137
+ "%'",
@@ -191,7 +191,7 @@ public void allTypes() throws Exception {
191191
+ " `"
192192
+ schemaBundleId
193193
+ ".com.google.cloud.bigtable.data.v2.test.Genre`) as enumCol FROM `"
194-
+ tableId
194+
+ tableId.getTableId()
195195
+ "` WHERE _key='"
196196
+ uniquePrefix
197197
+ "a' LIMIT 1",
@@ -401,7 +401,7 @@ public void testNullColumns() {
401401
PreparedStatement preparedStatement =
402402
dataClient.prepareStatement(
403403
"SELECT cf['qual'] AS neverNull, cf['qual3'] AS maybeNull FROM "
404-
+ tableId
404+
+ tableId.getTableId()
405405
+ " WHERE _key LIKE '"
406406
+ uniquePrefix
407407
+ "%'",

0 commit comments

Comments
 (0)