Top "Google-bigquery" questions

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

STRING to DATE in BIGQUERY

I am struggling trying to do this with Google BigQuery: I do have a column with dates in this following …

string date google-bigquery
BigQuery converting to a different timezone

I am storing data in unixtimestamp on google big query. However, when the user will ask for a report, she …

datetime timezone google-bigquery
Is there a way to export a BigQuery table's schema as JSON?

A BigQuery table has schema which can be viewed in the web UI, updated, or used to load data with …

json google-bigquery
Delete duplicate rows from a BigQuery table

I have a table with >1M rows of data and 20+ columns. Within my table (tableX) I have identified duplicate …

distinct google-bigquery
BigQuery - NULL values

I want to make calculation among columns, which contains null values x1 x2 9 0.0 5 1.2 12 null 10 null If calculation x1 + (x1*x2) …

null google-bigquery
Bigquery select distinct values

How to select distinct values in Google Bigquery? Query: SELECT DISTINCT cc_info FROM user WHERE date = ? Thanks!

google-bigquery
How to create temporary table in Google BigQuery

Is there any way to create a temporary table in Google BigQuery through: SELECT * INTO <temp table> FROM &…

google-bigquery
BigQuery SQL WHERE Date Between Current Date and -15 Days

I am trying to code the following condition in the WHERE clause of SQL in BigQuery, but I am having …

sql google-bigquery
How can I extract date from epoch time in BigQuery SQL

I have date stored in Epoch Time and I want to extract Date from it. I tried the code below …

sql google-bigquery
Random Sampling in Google BigQuery

I just discovered that the RAND() function, while undocumented, works in BigQuery. I was able to generate a (seemingly) random …

google-cloud-platform google-bigquery