Skip to content

Commit 74e4e2c

Browse files
authored
Merge pull request GoogleCloudPlatform#844 from GoogleCloudPlatform/tswast-patch-1
BigQuery : update links based on query docs refactoring
2 parents 2ec36ec + d00ca72 commit 74e4e2c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

bigquery/cloud-client/src/main/java/com/example/bigquery/QuerySample.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ public static void runStandardSqlQuery(String queryString)
5656
throws TimeoutException, InterruptedException {
5757
QueryJobConfiguration queryConfig =
5858
QueryJobConfiguration.newBuilder(queryString)
59-
// To use standard SQL syntax, set useLegacySql to false.
60-
// See: https://cloud.google.com/bigquery/sql-reference/
59+
// To use standard SQL syntax, set useLegacySql to false. See:
60+
// https://cloud.google.com/bigquery/docs/reference/standard-sql/enabling-standard-sql
6161
.setUseLegacySql(false)
6262
.build();
6363

@@ -73,12 +73,12 @@ public static void runQueryPermanentTable(
7373
boolean allowLargeResults) throws TimeoutException, InterruptedException {
7474
QueryJobConfiguration queryConfig =
7575
QueryJobConfiguration.newBuilder(queryString)
76-
// Save the results of the query to a permanent table.
77-
// See: https://cloud.google.com/bigquery/querying-data#permanent-table
76+
// Save the results of the query to a permanent table. See:
77+
// https://cloud.google.com/bigquery/docs/writing-results#permanent-table
7878
.setDestinationTable(TableId.of(destinationDataset, destinationTable))
7979
// Allow results larger than the maximum response size.
80-
// If true, a destination table must be set.
81-
// See: https://cloud.google.com/bigquery/querying-data#large-results
80+
// If true, a destination table must be set. See:
81+
// https://cloud.google.com/bigquery/docs/writing-results#large-results
8282
.setAllowLargeResults(allowLargeResults)
8383
.build();
8484

@@ -91,8 +91,8 @@ public static void runUncachedQuery(String queryString)
9191
throws TimeoutException, InterruptedException {
9292
QueryJobConfiguration queryConfig =
9393
QueryJobConfiguration.newBuilder(queryString)
94-
// Do not use the query cache. Force live query evaluation.
95-
// See: https://cloud.google.com/bigquery/querying-data#query-caching
94+
// Do not use the query cache. Force live query evaluation. See:
95+
// https://cloud.google.com/bigquery/docs/cached-results#disabling_retrieval_of_cached_results
9696
.setUseQueryCache(false)
9797
.build();
9898

@@ -106,8 +106,8 @@ public static void runBatchQuery(String queryString)
106106
QueryJobConfiguration queryConfig =
107107
QueryJobConfiguration.newBuilder(queryString)
108108
// Run at batch priority, which won't count toward concurrent rate
109-
// limit.
110-
// See: https://cloud.google.com/bigquery/querying-data#interactive-batch
109+
// limit. See:
110+
// https://cloud.google.com/bigquery/docs/running-queries#batch
111111
.setPriority(QueryJobConfiguration.Priority.BATCH)
112112
.build();
113113

0 commit comments

Comments
 (0)