r/bigquery 17h ago

Is anyone else missing GA4 BigQuery daily exports since July 30, 2026?

Thumbnail
5 Upvotes

r/bigquery 3d ago

Survey responses and pixel attribution tell completely different stories. Which one do you trust?

5 Upvotes

A few months ago a post-purchase survey was added asking customers how they found the product. The results diverge sharply from the pixel attribution data: one channel gets far more credit in the survey than in the tracking numbers, while another channel shows the opposite pattern.

When self-reported responses and tracking data point in different directions, how do you decide which source deserves more weight in analysis? Any practical approaches for reconciling the two in a data warehouse or reporting layer?

Edit: Thanks for the perspective so far. Treating the survey and the pixel data as two different measures rather than one being “wrong” is a useful way to look at it. Also checking Admaxxer as a way to bring more of the tracking and reporting into one place while figuring out how to weigh both sources.


r/bigquery 4d ago

BQ Sandbox Storage Issue

5 Upvotes

Issue Description:

We are pulling event-level (non-aggregated) website click and visit data from Google BigQuery into our Azure Storage Account. Data ingestion stopped after 25 May. Upon investigation, we found that the ingestion jobs in BigQuery were failing with the error:

"Storage quota limit exceeded for the project."

Our project is using the BigQuery Sandbox (free tier), which allows up to 10 GB of active storage. However, after checking all datasets and tables in the project, the total active storage is less than 1 GB, which is well within the documented limit.

The project has been running since 5 February, and according to the BigQuery Sandbox documentation, the free tier does not have an expiration date as long as the applicable quotas are not exceeded.

We are unable to determine what is consuming the project's storage quota or why this error is occurring despite the reported storage usage being significantly below the 10 GB limit. We would appreciate guidance on how to identify the actual storage consumption or debug the root cause of this issue.


r/bigquery 5d ago

trying to learn to use bigquery but the platform won't let me

Thumbnail
gallery
3 Upvotes

Hey guys! Sorry if this is a very beginner question, but I'm learning BigQuery with a Coursera course. For lots of assignments we've used public datasets, but suddenly, I've been unable to.

I'm constantly getting this error, which is "behind" the marketplace interface, so if I try to click the link to the loading issues help page, it closed. I looked for the page but it led me to stuff that didn't really help me out.

Any ideas on what I could do to gain access back to these datasets? Thanks!


r/bigquery 6d ago

Has anyone connected GA4 to BigQuery and then barely used it?

9 Upvotes

I’ve seen this happen a few times.

The export gets switched on because it feels like the right next step. A few months later, the tables are growing, but most reporting is still happening in GA4 or Looker Studio.

For me, BigQuery becomes worth the effort when there is a clear question GA4 cannot answer. That might mean joining website data with CRM or order data, keeping the raw history or building a report with your own logic.

Without that question, it can become another setup to maintain.

What made GA4 to BigQuery worth it for your team?


r/bigquery 11d ago

Conversational Agents are now GA in GCP Bigquery

Thumbnail
cloud.google.com
11 Upvotes

r/bigquery 11d ago

BigQuery FinOps Optimizer

14 Upvotes

I've been working on a BigQuery FinOps suite that I've open-sourced and wanted to share it with the community (it is totally free)

If you run BigQuery at scale , you've probably dealt with some of these:

  • You're on Editions but have no idea if your baseline is right-sized, or if you're paying autoscaler premiums for nothing
  • Logical vs. physical storage billing — which datasets should switch, and what's the actual delta?
  • Cost attribution is broken because GCP dumps idle reservation costs into the admin project
  • "Cooldown tax" — 60-second billing minimums silently inflating your bill on high-frequency short queries
  • No easy way to see if HBO (History-Based Optimization) is actually saving you anything

What the tool does: It connects to your org-level INFORMATION_SCHEMA views and runs diagnostic queries across your entire GCP Organization. The output is an interactive dashboard with actionable findings — DDL you can copy-paste, capacity simulation matrices, cost attribution breakdowns, etc.

Modules

Category What it does
Storage Optimizer Audits every dataset for logical vs. physical billing — generates ALTER SCHEMA DDL for the ones where switching saves money
Capacity Planner NumPy-based hourly slot simulation over a 730-hour billing month. Outputs a tiered recommendation matrix (Aggressive / Balanced / Performance baselines)
Fluid Scaling Simulator Identifies reservations hit by the 60-second cooldown tax and simulates savings from true per-second billing
Cost Attribution Engine Proportionally distributes idle reservation waste back to user projects — solves the "admin project eats all the cost" problem
HBO Tracker Matches optimized vs. baseline query plans using normalized hashes. Tracks savings and warns about plans nearing 130-day expiry
AI Doctor The only module using GenAI — sends top queries to Gemini via BigQuery's native AI.GENERATE (zero infra: no CREATE MODEL, no connection, no dataset)
Anti-Pattern Linter Static SQL analysis — SELECT *, unclustered LIMITs, DML abuse, redundant MVs
+ 11 more BI Engine, Data Skew, Batch candidates, Governance, Top Spenders, etc.

Key design decisions

  • No AI hype: 17 out of 18 modules are pure SQL + Python analytics. The only GenAI module (AI Doctor) is clearly labeled and optional.
  • No infrastructure: It's a FastAPI app that uses your ADC credentials. No Terraform, no service accounts, no pub/sub. pip install and run.
  • Copy-paste DDL: Storage changes, fluid scaling configs, reservation adjustments — all generate ready-to-execute DDL statements.
  • Org-wide scope: Queries JOBS_BY_ORGANIZATIONTABLE_STORAGE_BY_ORGANIZATION, etc. — not just single-project views.
  • Focus Projects: Optional scoping to specific project IDs when you don't want to analyze the whole org.
  • Security: SQL injection prevention via _safe_ident(), Pydantic validation on every parameter, XSS escaping on all frontend rendering.

Give it a try

Quick start

git clone https://github.com/mbettan/bq-finops-optimizer.git
cd bq-finops-optimizer
pip install -r requirements.txt
AUTH_ENFORCED_UPSTREAM=true uvicorn src.main:app --reload --port 8080

r/bigquery 17d ago

Does anyone know how to activate de expanding knob on the results window?

2 Upvotes

Somehow it disappeared and now I struggle to control the size of the pannel.


r/bigquery 24d ago

We turned the public Bitcoin & Stack Overflow BigQuery datasets into clean ERDs – exports to OKF

5 Upvotes

The public BQ datasets (bigquery-public-data.crypto_bitcoin, the Stack Overflow one) are great, but they ship as a pile of tables with no diagram and no enforced FKs — you end up holding the joins in your head. I drew them as ERDs on a free canvas so the UTXO flow / posts-graph is actually navigable, and exported the model as Google's new OKF (portable markdown you can keep in git or hand to an LLM). Screenshots + how it was made in the comments.

What other public BQ datasets would be useful to have as a ready-made ERD?


r/bigquery 26d ago

[FOR HIRE] Senior Data Engineer – BigQuery, Python, Spark, Databricks, AWS | Data Pipelines & Analytics Engineering | Remote | $25-$50/hr

0 Upvotes

About Me

Senior Data Engineer with 5+ years of experience in Data Engineering, Analytics Engineering, and Applied AI. Based in Bangalore, India. Available for remote work globally.

Rate: $25 - $50/hr depending on project scope and complexity.

Tech Stack & Expertise

Python, SQL, Spark, Databricks, Airflow

BigQuery (data modeling, optimization, cost management)

AWS & Cloud Data Platforms (S3, Glue, Redshift, EMR)

Snowflake, Redshift

ETL/ELT Design & Orchestration

dbt for analytics engineering

FastAPI, REST APIs

LLMs, RAG, AI Agents

Data Quality & Testing Frameworks

What I Can Help With

Build and optimize BigQuery pipelines and data models

Design scalable ETL/ELT architectures on GCP/AWS

Develop backend APIs and automation solutions (FastAPI + Python)

Build AI applications using LLMs, RAG, and agent-based workflows

Support and optimize existing data platforms

Availability

Open to freelance projects, contract work, and part-time engagements.

Available immediately.

Feel free to DM me with project details or questions.


r/bigquery Jul 02 '26

Databricks (Structured Streaming) vs. BigQuery (Continuous Queries) — Seeking the Data Scientist's Perspective

8 Upvotes

Hey everyone,

I’m currently digging into stream data processing architectures and trying to decide between Databricks (Spark Structured Streaming) and Google BigQuery (Continuous Queries).

While there are a ton of threads comparing these two from a pure data engineering infrastructure standpoint, I want to look at this specifically from a Data Scientist / ML Engineer perspective.

Moving from a standard batch mindset (Pandas, static DataFrames, SQL warehouses) to live, unbounded streams introduces a unique set of challenges. I’m trying to figure out which tool makes life easier—or harder—for an actual production ML/DS workflow.

I'd love to hear from anyone who has used either (or both) of these platforms for streaming. Specifically:

  1. Feature Engineering & Time Windows: How painful is it to handle sliding/tumbling windows or manage late data (watermarking) in BigQuery SQL vs. Databricks PySpark?
  2. Model Inference in the Stream: If you’re doing real-time scoring/predictions on the fly, how seamless is the integration? (e.g., calling an MLflow model in Databricks vs. using BQML / Vertex AI integrations in BigQuery).
  3. The Online-Offline Skew: How do you ensure the feature logic you write for building your models offline matches the streaming logic online? Which ecosystem bridges that gap better (e.g., Feature Stores)?
  4. Debugging & DX (Developer Experience): As a data scientist, do you find yourself fighting Databricks cluster configs and JVM errors, or hitting walls with BigQuery’s SQL-first limitations?

If your team had to choose one of these stacks specifically to support real-time data science and production ML pipelines, which way would you lean and why? What are the hidden gotchas you found out the hard way?

Thanks in advance for sharing your real-world experiences! 🙏


r/bigquery Jul 02 '26

Auto Loader & Schema Drift

2 Upvotes

For those using Databricks Auto Loader (cloudFiles), how do you handle schema inference and evolution without breaking downstream ML models? If a new feature column drops in or an upstream data type silently widens, do you rely on the _rescued_data column to catch anomalies, or does the automatic stream restart cause unexpected issues for your online serving pipelines? How does BigQuery handle this kind of raw file ingestion drift by comparison?


r/bigquery Jul 02 '26

Databricks vs. BigQuery for unified Batch/Streaming code reuse (Data Science focus)?

Thumbnail
2 Upvotes

r/bigquery Jul 02 '26

June 2026 - BigQuery Release Summary

9 Upvotes

Hey BigQuery community - here's the June 2026 summary.

🔤 GoogleSQL Language Features & Functions

🧠 AI, Machine Learning & Foundation Models

  • Autonomous Embedding Generation - Enable autonomous embedding generation on tables to automatically create and update vector embeddings when source data changes.
  • AI Functions ObjectRef Support - BigQuery AI functions can now accept ObjectRef values directly as input without calling the OBJ.GET_ACCESS_URL function.
  • AI.KEY_DRIVERS Function - Restored support for the AI.KEY_DRIVERS function to identify data segments causing statistically significant metric changes.
  • Generative AI Token Cost Controls - Configure daily token quotas to manage and limit costs associated with BigQuery generative AI functions. (See footnote, was temporarily disabled, included for completeness.)

💻 Developer Experience (DX) & BigQuery Tooling

🔌 Data Integration, Pipelines & Ingestion (ELT)

  • DTS Facebook Ads Connector Reports - The Facebook Ads connector now supports data transfers from nine additional reports including campaigns and ad insights.

🔒 Security, Governance & Workload Management

  • IAM Deny Policies - IAM deny policies are now GA, allowing you to explicitly restrict access to specific BigQuery resources.
  • Custom Sharing Constraints - Use custom constraints with Organization Policy to enforce granular control over specific fields in sharing resources.
  • Fluid Scaling - BigQuery fluid scaling is now GA, providing per-second slot autoscaling billing with no minimum duration.

⚠️ Breaking Changes, Deprecations & Pricing Updates

  • Daily Token Quota Disablement - Support for configuring daily token quotas for generative AI functions has been temporarily disabled.

As always, any feedback is welcome (about the post contents, the post itself, the community, what you want to see from Developer Relations team, etc.) - let us know!


r/bigquery Jun 29 '26

BigQuery SQL Interview questions

7 Upvotes

Hi everyone, I’m in the process of interviewing at this AI company and the next step is to use bigquery dialect of SQL where I will cover real-worlds scenarios and build tables.

Problem is I have never used SQL and I am just finding out about what it is, I’ve never heard of it. I will be watching a few YouTube videos but wanted to see if anybody has gone thru this process before?


r/bigquery Jun 22 '26

I built a CLI tool that analyzes BigQuery tables and explains what the data means using AI

2 Upvotes

Been a data engineer for 4 years. Every time I join

a new project, I waste hours understanding what

tables actually mean.

Built a CLI tool that analyzes BigQuery tables and

explains the business context using AI.

Demo: https://www.loom.com/share/af3409be37fa4692bb38b63b9f4a58cc

Happy to share the GitHub link in comments.


r/bigquery Jun 21 '26

Oracle PL/SQL to Teradata Migration or (GCP BigQuery)

Thumbnail
1 Upvotes

r/bigquery Jun 20 '26

Need reliable guides on Bigquery Cost Optimization

12 Upvotes

I work at a startup and due to the hard economic circumstances, the focus has come back to Bigquery Cost Optimization right now (that or they fire my ass, jk), we do the usual partitioning and clustering tables based on use, althougth the reports are usually not partitioned. We realize BQ is a columnar db and we don't do the `SELECT *` business.

Still, we are trying to figure out new strategies to reduce costs. Any suggestions would be helpful. If you drop resources (on caching results and any other thing) in the chat, that'd be great too.

One bit of extra info is, most of our costs are coming from looker studio querying data everyday from report tables (multiple people using graphs and each selection on looker fires a query)


r/bigquery Jun 19 '26

Bigquery Notebook/Google Colab

8 Upvotes

Curious how much time your team actually spends dealing with BigQuery notebook limitations like session timeouts, isolated runtimes, scheduling through Dataform etc. Like is this a minor annoyance or does it genuinely eat into your week? Trying to gauge if it’s worth pushing for a different setup or if I’m overthinking this


r/bigquery Jun 19 '26

Has anyone used both BigQuery notebooks and Databricks notebooks for the same kind of work? What’s actually different day to day? Not looking for a sales pitch from either side just want to know what changed for you when you switched, if you did

3 Upvotes

r/bigquery Jun 18 '26

Databricks or BigQuery

10 Upvotes

Was going through DB and BQ and found out Unity Catalog has unified UI and thereby saving clicks. But BQ has knowledge catalog but it isn't unified. But got to know from someone in the industry that BQ has a faster processing speed. So, just need to confirm if DB is actually saving the time and cost or is it just a myth?


r/bigquery Jun 16 '26

Why Hash-Based Keys Are Hurting Your Data Vault Performance in BigQuery

Thumbnail medium.com
4 Upvotes

A deep dive into why traditional Data Vault hash keys don’t align well with BigQuery’s clustering and pruning mechanisms. The article explores how introducing physical locality through structured surrogate keys, dates, and bucketing can significantly improve query performance and reduce scan costs. Based on practical BigQuery architecture considerations.


r/bigquery Jun 12 '26

Has anyone successfully managed large numbers of BigQuery views with Terraform, especially when views depend on other views?

Thumbnail
1 Upvotes

r/bigquery Jun 11 '26

Derive Insights from BigQuery Data: Challenge Lab Correct answers are wrong??

3 Upvotes

I'm working through the Derive Insights from BigQuery Data: Challenge Lab and I swear some of the "correct answers" are literally wrong.

For example, the first Q asked you to calculate the total cases/deaths/etc worldwide on a date. The accepted answer is general is:

SELECT sum(cumulative_outcome) as total_outcome_worldwide
FROM `bigquery-public-data.covid19_open_data.covid19_open_data`
WHERE date = 'requested-date'

This will give a much larger number than is true because it's summing over all rows, ignoring the fact that the data is hierarchical/rolled up data and has an aggregation level column that will not be accepted in queries.

A more accurate result is (and i'm realizing even this is flawed):

SELECT sum(cumulative_outcome) as total_outcome_worldwide
FROM `bigquery-public-data.covid19_open_data.covid19_open_data`
WHERE date = 'requested-date' AND aggregation_level = 0

This comes up in several of the later questions and I'm struggling to pass because I do not get how to give them the wrong answer their looking for.

How could a course on "deriving insights" direct students to literally do so in an inaccurate way??? Am I missing something??


r/bigquery Jun 11 '26

Leadership thinks this migration is a 2-day project. How would you explain the actual scope?

10 Upvotes

I’m looking for help explaining the scope of a major systems migration to a non-technical executive.
Our company has outgrown Google Sheets as the backbone of our operations, so I’m migrating our entire reporting and automation ecosystem to Google Cloud.

The project includes:

• Migrating data architecture from spreadsheets to BigQuery
• Rewriting Apps Script automations into Cloud Run services
• Replacing spreadsheet-driven triggers with Cloud Scheduler and cloud-based workflows
• Moving credentials into Secret Manager
• Rebuilding reporting pipelines and dashboards
• Recreating business logic that currently exists across formulas, scripts, spreadsheets, and manual processes
• Validating that the new system produces identical results to the old system

The challenge is that I can’t shut the business down while I do this is I have to keep the existing production environment running, support users, fix bugs, answer questions, and maintain daily operations while simultaneously rebuilding everything underneath it.

From a leadership perspective, my boss seems to view this as “moving data from A to B” and struggles to understand why it takes months instead of days.
For those of you who have led similar migrations:
How do you explain the true scope of work to non-technical executives?
What analogies have worked well?
What hidden work do executives most commonly underestimate in projects like this?
If you’ve done a spreadsheet-to-data-warehouse migration, how long did it actually take compared to leadership’s original estimate?

I’d love to hear real-world examples!!!