Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BigQuery : update links based on query docs refactoring #844

Merged
merged 3 commits into from
Sep 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ public static void runStandardSqlQuery(String queryString)
throws TimeoutException, InterruptedException {
QueryJobConfiguration queryConfig =
QueryJobConfiguration.newBuilder(queryString)
// To use standard SQL syntax, set useLegacySql to false.
// See: https://cloud.google.com/bigquery/sql-reference/
// To use standard SQL syntax, set useLegacySql to false. See:
// https://cloud.google.com/bigquery/docs/reference/standard-sql/enabling-standard-sql
.setUseLegacySql(false)
.build();

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

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

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

Expand Down