1e79287b1c05c678e672f571f2ccdd9c4e5c87bc,bigquery/cloud-client/query_params.py,,query_positional_params,#Any#Any#,52
Before Change
// Start the query and wait for the job to complete.
query_job.begin()
wait_for_job(query_job)
print_results(query_job.results())
def query_named_params(corpus, min_word_count):
client = bigquery.Client()
After Change
query_job.result() // Wait for job to complete
// Print the results.
destination_table = query_job.destination
destination_table.reload()
for row in destination_table.fetch_data():
print(row)
def query_named_params(corpus, min_word_count):
client = bigquery.Client()
query =
SELECT word, word_count
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 9
Instances Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 1e79287b1c05c678e672f571f2ccdd9c4e5c87bc
Time: 2017-08-08
Author: swast@google.com
File Name: bigquery/cloud-client/query_params.py
Class Name:
Method Name: query_positional_params
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 1e79287b1c05c678e672f571f2ccdd9c4e5c87bc
Time: 2017-08-08
Author: swast@google.com
File Name: bigquery/cloud-client/query_params.py
Class Name:
Method Name: query_named_params
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 1e79287b1c05c678e672f571f2ccdd9c4e5c87bc
Time: 2017-08-08
Author: swast@google.com
File Name: bigquery/cloud-client/query_params.py
Class Name:
Method Name: query_array_params
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 1e79287b1c05c678e672f571f2ccdd9c4e5c87bc
Time: 2017-08-08
Author: swast@google.com
File Name: bigquery/cloud-client/query_params.py
Class Name:
Method Name: query_struct_params
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 1e79287b1c05c678e672f571f2ccdd9c4e5c87bc
Time: 2017-08-08
Author: swast@google.com
File Name: bigquery/cloud-client/query_params.py
Class Name:
Method Name: query_timestamp_params