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

Commit 10e69e0

Browse files
committed
Minor documentation fix for executeQuery
Change-Id: I6073e41b5a5b74b91671002cb93dc42c4023f10f
1 parent 0207e1d commit 10e69e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BigtableDataClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2622,7 +2622,7 @@ public void readChangeStreamAsync(
26222622
*
26232623
* <pre>{@code
26242624
* try (BigtableDataClient bigtableDataClient = BigtableDataClient.create("[PROJECT]", "[INSTANCE]")) {
2625-
* String query = "SELECT cf['stringCol'] FROM [TABLE]";
2625+
* String query = "SELECT CAST(cf['stringCol'] AS STRING) FROM [TABLE]";
26262626
*
26272627
* try (ResultSet resultSet = bigtableDataClient.executeQuery(Statement.of(query))) {
26282628
* while (resultSet.next()) {

0 commit comments

Comments
 (0)