Skip to main content
Filter by
Sorted by
Tagged with
-3 votes
0 answers
30 views

I am working on a pipeline and facing issues. I used data from gsc and ga4 in big query. I am calculating the avg of avg position and sum of new users, etc. I am taking the data to power bi now and ...
Simran Sharma's user avatar
Best practices
0 votes
4 replies
97 views

I'm analyzing wind speed and visibility data from 2023 in BigQuery, but the dataset wasn’t cleaned and missing values were entered as zeroes. I'm trying to update those zeroes to NULL before running ...
Iesha Walker's user avatar
Advice
0 votes
5 replies
128 views

I am examining a large data set on sports activities amongst a population of people and need to find all entries of the word "soccer." What is the best SQL function to filter all entries ...
TayArianna's user avatar
-4 votes
0 answers
20 views

On writing the following in Bigquery the following error message shows up: Please check my code and advise how to solve the problem. Invalid schema update. Cannot add fields (field: ...
Md Monzoor Murshed's user avatar
Advice
0 votes
2 replies
106 views

I am learning SQL for my data analytics course and I have come across a query in which I have questions about. Can someone explain how the the query works to me. SELECT   usertype,   CONCAT (...
Yash Tiwari's user avatar
Best practices
0 votes
1 replies
47 views

We are building a B2B SaaS platform that programmatically creates BigQuery export links from customer GA4 properties to our GCP project using the Analytics Admin API. API call: POST https://...
ga4-Bot bot's user avatar
1 vote
1 answer
175 views

I have this code to retrieve millions of rows from my BigQuery query results: query_job = client.query( query, ) storage_client = bigquery_storage....
unitrium's user avatar
Advice
0 votes
3 replies
83 views

I'm currently taking the Google Data Analytics certificate, and the SQL code is a bit overwhelming. How can I remember them so whenever there is a need for help, I can do the job. Any advice or tips ...
Axcel Landicho's user avatar
0 votes
0 answers
102 views

Problem I'm using the BigQuery Storage Write API (Go managedwriter package) to upload data to three tables with very different ingestion rates: Table Frequency Record Size A ~10 records/sec Several KB ...
DaeYoung's user avatar
0 votes
0 answers
85 views

Some context: I'm connecting mobile game data to BQ using Firebase/GA4 with BigQuery export. Every session has a USER_ID set in user_properties at client load. I have pipelines that run daily at 6 AM ...
Kdragono 's user avatar
-7 votes
1 answer
149 views

I am learning BigQuery in Coursera. I am trying to sort a table but I am confused about how to use ORDER BY. My table has columns like name and age. I want to sort the age from highest to lowest. What ...
lachman gc's user avatar
Best practices
1 vote
3 replies
100 views

What is the difference between CONCAT with II and CONCAT with + in SQL? Which should be used and when?. If possible can anyone please explain with example.
Dhananjay Dole's user avatar
Advice
1 vote
1 replies
107 views

I have an Apache Beam pipeline (running on Dataflow) that normally performs a daily batch load from Cloud Storage to BigQuery. The source team has provided 1 year of historical data that needs to be ...
Saravana Kumar's user avatar
Best practices
0 votes
4 replies
116 views

How to save query as a table in SQL on BigQuery? I am doing data analysis and want to save a query as a table to reuse and save my time. I was running a query in BigQuery platform for the practice and ...
Ashwinii's user avatar
Tooling
0 votes
3 replies
76 views

However, you’re working with the newest data and it hasn’t been cleaned yet. Missing values were incorrectly entered as zeroes, and you need to change them to null values before you look for trends. ...
Erick 's user avatar
1 vote
0 answers
70 views

I have a BigQuery table (approx. 140 GB in size) that is synchronized from MongoDB via a Google Cloud Datastream. I have set the _id column as the clustering column. However, when I run a query ...
Xiang Han's user avatar
0 votes
1 answer
61 views

I have a GCP project (let's call it "Tier") that acts as a central data-sharing hub across multiple teams. Using Analytics Hub, I've created an exchange with several listings that reference ...
albertovpd's user avatar
Advice
0 votes
4 replies
41 views

I would like to have the UDF getting table content as parameter, like CREATE OR REPLACE PROCEDURE dataset.function1(tab TABLE) so that I am easier to pass the whole dataset for unit testing, is that ...
carfield's user avatar
  • 2,091
Advice
0 votes
4 replies
94 views

I’m using Google BigQuery (Standard SQL) to clean 2023 weather data. Missing values were mistakenly stored as 0, but 0 is a valid value for some rows, so I only want to convert the incorrect zeroes to ...
Sarah Jam's user avatar
0 votes
1 answer
76 views

I'm trying to programmatically create a native Google BigQuery connection in AWS Glue using the AWS SDK for Go v2 (github.com/aws/aws-sdk-go-v2/service/glue). According to the AWS docs (Glue 4.0+ ...
Shubham Dixit's user avatar
3 votes
1 answer
96 views

I trying to determine if NCAA basketball games have an affect on liquor sales in the surrounding areas around the stadiums where the teams play their games. I am writing a query that filters and sorts ...
shawn kelley's user avatar
0 votes
1 answer
86 views

The inciting problem One of our DAGs suffers from an issue wherein a BigQueryInsertJobOperator task fails due to it becoming a "zombie task" (from Airflow's perspective); in the "Event ...
IgorM's user avatar
  • 300
Best practices
0 votes
8 replies
113 views

I have two different SQL calls to BigQuery. One completes in 22 seconds, the other is identical except that I add completely redundant filter at the end. This second completes in 8 seconds. The ...
Tunneller's user avatar
  • 655
1 vote
0 answers
104 views

I have a GA4 property linked to BigQuery for daily export (both iOS and Web data streams selected, “export all events” enabled, no filters). Everything was working fine until 2025-11-23, when the ...
Howard Feng's user avatar
-1 votes
1 answer
158 views

We are leveraging BigQuery to create reports, with some column values represented in JSON. Below is a sample payload. I can successfully retrieve the Template value, but the objectType value remains ...
Raja Pandian's user avatar
Tooling
1 vote
2 replies
68 views

What shortcuts can I use to split strings in my database (BigQuery). I have been trying a lot of functions and I make use of the google bigquery platform. I'm getting really confused now. I tried ...
AIAES's user avatar
  • 1
0 votes
1 answer
128 views

I'm loading data into BigQuery and using LoadJobConfig. There's a timestamp_format field where you can specify the format of timestamps. Checking the data I have, timestamps come in different format: ...
Aaron's user avatar
  • 5
0 votes
1 answer
94 views

I am trying to use BigQuery and want to search from the Google Cloud SDK Shell. I logged in and set up with gcloud config init successfully. I used the BigQuery console to put data in my dataset table....
frank's user avatar
  • 3,816
0 votes
0 answers
101 views

I have a Table Valued Function (TVF) that takes an array of IDs as input. source_table: A very large table (TBs) partitioned by day on capturedTimestamp. selection_table: A small lookup table that ...
Krishna Kashiv's user avatar
Tooling
0 votes
3 replies
99 views

I have a table-valued function (TVF) that takes an array of IDs as input. source_table: a very large table (TBs) partitioned by day on capturedTimestamp selection_table: a small lookup table that ...
Krishna Kashiv's user avatar
Tooling
0 votes
0 replies
45 views

I’m setting up a BigQuery Data Transfer for daily CSV files. Because the column order in these files can vary from day to day, I’d like BigQuery to use the CSV headers to map the data to the correct ...
mrasoolmirza's user avatar
0 votes
0 answers
79 views

I'm having random data missing/not showing up in BigQuery issues. I would seemingly write data without issues, but SELECT * would return nothing. The control panel shows no errors. None of the quotas ...
Buffalo's user avatar
  • 4,102
0 votes
1 answer
111 views

I'm trying to calculate the percentage contribution of each firm to the total amount across all firms. Database: google-bigquery What I need (desired output): Sum usde_haircut_amt per firm Compute ...
sandesh kamera's user avatar
0 votes
0 answers
93 views

I am trying to figure out if there is a way to send a JSON object to a BigQuery table that has a column of type JSON. I know the current practice is to stringify the JSON and send it over which gets ...
Antares's user avatar
  • 100
0 votes
1 answer
156 views

I’m trying to optimize a BigQuery SQL query that joins several large tables. The query works, but it’s slow and more expensive than expected when running on production-scale datasets. Below is a ...
Prathima Sarvani Alla's user avatar
1 vote
0 answers
80 views

I am using Databricks Runtime 15.4 (Spark 3.5 / Scala 2.12) on AWS. My goal is to use the latest Google BigQuery connector because I need the direct write method (BigQuery Storage Write API): option(&...
Thilina's user avatar
  • 157
0 votes
0 answers
45 views

I’m currently working on a task to fetch and display daily Google ADS Manager (GAM) records—such as Cost, ROAS, and other metrics—within a data analysis application. I’ve successfully retrieved data ...
Mehakpal Singh's user avatar
0 votes
0 answers
46 views

I work on a project in BigQuery using Looker Studio for dashboard visualizations. We recently saw our billing costs and usage skyrocket and are trying to determine the cause. Nothing fundamentally ...
Brigham Aldrich's user avatar
Advice
0 votes
1 replies
75 views

When I tried to do division in BigQuery, I saw this. Initial implementation -> div (x / y) for this, I got an error, No matching signature for function DIV Argument types: FLOAT64, FLOAT64 ...
pcbzmani's user avatar
0 votes
1 answer
88 views

I’m working on a data ingestion pipeline using Apache Spark (triggered via a Cloud Function on Dataproc). The input CSV contains column names that include special characters such as parentheses and a ...
Suhani Bhatia's user avatar
0 votes
1 answer
105 views

I have a BigQuery push subscription in Pub/Sub that for some reason changes the values of the fields with float datatype when pushed to BigQuery. I tried creating a pull subscription and attached it ...
mads.koop's user avatar
2 votes
1 answer
78 views

I have a large BigQuery table, big_table, around 5 TB in size. It is partitioned by the column partition_date, which has about 2000 distinct values. I also have a smaller table, small_table, which ...
Alex Lipkin's user avatar
1 vote
0 answers
40 views

I’m trying to use the Google Analytics Admin API (v1alpha) to link a GA4 property to BigQuery via the properties.bigQueryLinks.create method. Here is my code using : https://developers.google.com/...
Wendy Longuemare's user avatar
0 votes
0 answers
112 views

I'm currently aware that I can export a BigQuery query result to Google Cloud Storage (GCS) by first creating a temporary table and then performing an extract table operation on that temp table. ...
AVA's user avatar
  • 183
0 votes
0 answers
83 views

I have got two BigQuery tables: bigquery:ssh-test-project-01.SSh_Dataset_03.SSh_BgQ_Src_01 and bigquery:ssh-test-project-01.SSh_Dataset_03.SSh_BgQ_Dst_BgQ_01. Using Data Transfer with SQL: "...
Sergey Shabalov's user avatar
0 votes
1 answer
152 views

I'm trying to connect a BigQuery table containing property listings (originally from an Excel/CSV file) to a Vertex AI Agent Builder / Dialogflow CX agent using a Structured Data Store. My goal is to ...
John Liko's user avatar
-2 votes
3 answers
133 views

I'm trying to run a simple SQL query in BigQuery like this: SELECT usertype, COUNT(*) FROM `project.dataset.table`; But I get an error: SELECT list expression references column usertype which is ...
GAURAVJATT's user avatar
1 vote
1 answer
114 views

Some of our BQ projects create external tables on top of parquet files like this: CREATE OR REPLACE EXTERNAL TABLE my_dataset my_table WITH PARTITION COLUMNS (ingestion_date DATE) OPTIONS ( format ...
Etienne Neveu's user avatar
0 votes
1 answer
68 views

I have the following code: SELECT h3s.h3id, h3s.geog, MIN(ST_DISTANCE(`carto-os`.carto.H3_CENTER(htsp.h3id), `carto-os`.carto.H3_CENTER(h3s.h3id))) OVER (PARTITION BY h3s.h3id) FROM ...
Chris's user avatar
  • 67
0 votes
1 answer
85 views

I need to define an external table from Google sheet in Dataform - only a few columns from a given sheet should be used. Some AI tools are saying that 'range' can be used in OPTIONS, but I guess it's ...
Sammy Merk's user avatar

1
2 3 4 5
527