I want to set maximum bytes billed to 1000000 How do I do this

0 votes
How to set maximum billed bytes property if I have to set it to 1000000 bytes?
Nov 21, 2019 in GCP by anonymous
• 19,550 points
2,312 views

1 answer to this question.

0 votes

In the CLI, use bq query command with the --maximum_bytes_billed flag.

bq query --maximum_bytes_billed=1000000 \
--use_legacy_sql=false \
'SELECT
   word
 FROM
   `bigquery-public-data`.samples.shakespeare'

This should do!

answered Nov 21, 2019 by Sirajul
• 59,190 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer
0 votes
2 answers
0 votes
1 answer

Assign access control to a BigQuery Dataset.

You can apply access controls during dataset creation by ...READ MORE

answered Nov 15, 2019 in GCP by Sirajul
• 59,190 points
2,409 views
0 votes
1 answer

Permissions required to update a dataset.

At a minimum, to update dataset properties, ...READ MORE

answered Nov 15, 2019 in