HOW DO I USE CONCAT IN BIGQUERY TO JOIN FIVE COLUMN I WAS TRYING TO JOIN FIVE COLUMNS IN A TABLE. LIKE THIS SELECT CONCAT(start_station_id, start_st ...
HOW DO I USE CONCAT IN BIGQUERY TO JOIN FIVE COLUMN I WAS TRYING TO JOIN FIVE COLUMNS IN A TABLE. LIKE THIS SELECT CONCAT(start_station_id, start_st ...
Im looking to show the day of the week that pertains to the date in my table. The table is under bellabeat-case-study-2-376122.fitbit_data.daily_activ ...
I recently ran into an issue with CASE expression in BQ, and I found a solution online in a MySQL forum, and it worked! However, I'm not quite satisfi ...
I have a list of tournament results from PGA tour data and would like to remove the "T" from the beginning of the finish column strings where applicab ...
I have a table in BigQuery with a JSON column, see below. doc_id data 222 {...} 333 ...
I have a batch Apache Beam pipeline that worked successfully until I upgraded from version 2.42 to 2.43 and above. The pipeline uses Storage Write API ...
I got a PHP BigQueryClient that I use to export big tables to csv from BQ, but after running for a while they throw and error with code 401: Google\ ...
I am fairly new to BigQuery and SQL. I am trying to figure out if it is possible to combine IF and REGEXP_Contains. I want to apply different calcula ...
I have about 40 odd csv files, comma delimited in GCS however the last line of all the files has quotes and dot So these are not exactly conformed ...
I want to pivot a table such that each row in the type column is now its own row. Each metric is then a row and the values are the intersection of the ...
I'm using query API from com.google.cloud.bigquery.BigQuery to perform update operations Ref. Is there a way to perform bulk update to BigQuery Table ...
I just can't figure out how to get the average of travel time ended_at and started_at using DATETIME_DIFF. So there are two possible values in column ...
There is some legacy code that I am convinced could be replaced in a more elegant and robust solution. A series of flags are used to identify the cla ...
I have a Java class that models data meant for writing to both BigQuery and Elasticsearch. It looks something like this: @DefaultSchema(JavaBeanSchem ...
I have a large database and a number of subjects (40000). For each subject_id, I am currently running a SQL Query like this: The number of rows wit ...
I have a dataset like the following: I would like to run a query like the following: Output dataset How would I write /logic here/ so that if ...
In BigQuery I am trying to extract data from an exact date, 30 days ago, so that every day when I pull/refresh the data, it is always 30 days ago - no ...
I'm trying to extract data from Google Analytics, but due to incompatibilities between dimensions and metrics, it was decided to use Google Big Query ...
How do i save an alias name of one table in SQL (bigquery) to use in later queries?. there must be a way to avoid having to write the entire table nam ...
I am a beginner in SQL and I am using Big Query. I am looking to find the average length of time. My columns are in the image. Can someone please ...