This repository was archived by the owner on May 8, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it Expand file tree Collapse file tree Original file line number Diff line number Diff 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 + "%'" ,
You can’t perform that action at this time.
0 commit comments