Top "Google-bigquery" questions

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

BigQuery standard SQL: how to group by an ARRAY field

My table has two columns, id and a. Column id contains a number, column a contains an array of strings. …

arrays string group-by google-bigquery sql-standards
Splitting a string column in BigQuery

Let's say I have a table in BigQuery containing 2 columns. The first column represents a name, and the second is …

google-bigquery
Querying multiple tables in Big Query

As it is not possible to update data within a table in BigQuery, and supports only append mechanism, I have …

sql google-bigquery
Export BigQuery Data to CSV without using Google Cloud Storage

I am currently writing a software, to export large amounts of BigQuery data and store the queried results locally as …

python google-bigquery
Google BigQuery There are no primary key or unique constraints, how do you prevent duplicated records being inserted?

Google BigQuery has no primary key or unique constraints. We cannot use traditional SQL options such as insert ignore or …

google-bigquery
Computing Percentiles In BigQuery

I am using BigQuery, and I need to compute the 25th, 50th, and 75th percentile of a column of a …

google-bigquery google-cloud-platform percentile bigquery-standard-sql
Google BigQuery - how to drop table with bq command?

Google BigQuery - bq command enable you to create, load, query and alter table. I did not find any documentation …

google-bigquery
How is user_engagement event generated in firebase analytics?

I have seen a param named firebase_screen_class (along with engagement_time_msec, firebase_event_origin and firebase_screen_…

firebase google-bigquery firebase-analytics
How can I extract just the hour of a timestamp using standardSQL

How can I extract just the hour of a timestamp using standardSQL. I've tried everything and no function works. The …

google-bigquery hour
BigQuery StandardSQL: Last 7 Days using _TABLE_SUFFIX

Question: I want to pull data from multiple Google Analytics sessions tables using _TABLE_SUFFIX, but I want to set …

google-bigquery