Top "Google-bigquery" questions

Google BigQuery is a Google Cloud Platform product providing serverless queries of petabyte-scale data sets using SQL.

Migrating from non-partitioned to Partitioned tables

In June the BQ team announced support for date-partitioned tables. But the guide is missing how to migrate old non-partitioned …

google-bigquery
how to do subqueries in bigquery?

Im trying to play with the reddit data on bigquery and I want to see comments and replies in one …

sql subquery google-bigquery reddit bigdata
Is there a function to get the max of two values in Google BigQuery?

I want to get the maximum value of 2 Integer (or 2 float). I know I can do it with a IF …

google-bigquery
ImportError: cannot import name pubsub_v1

I need to import Pubsub_v1 and bigquery from google.cloud module. I have installed it and pip freeze shows …

python google-bigquery google-cloud-pubsub
How to authenticate with gcloud big query using a json credentials file?

In the gcloud documentation for google bigquery, it states that authentication can be determined from from_service_account_json. I've …

python json authentication google-bigquery google-cloud-python
List all the tables in a dataset in bigquery using bq CLI and store them to google cloud storage

I have around 108 tables in a dataset. I am trying to extract all those tables using the following bash script: # …

google-cloud-platform google-bigquery gcloud-cli
RANK or ROW_NUMBER in BigQuery over a large dataset

I need to add row numbers to a large (ca. billion rows) dataset in BigQuery. When I try: SELECT * ROW_…

google-bigquery row-number large-data
Avoid correlated subqueries error in BigQuery

I have a simple query to obtain the currency rate in use at the time a transaction was created: SELECT …

google-bigquery
how to schedule the shell script using Google Cloud Shell?

I have a .sh file that is stored in GCS. I am trying to schedule the .sh file through google …

shell cron google-cloud-platform google-bigquery google-cloud-shell
Count number of GCP log entries during a specified time

Is it possible to count number of occurrences of a specific log message over a specific period of time from …

google-cloud-platform google-bigquery stackdriver google-cloud-console