The Simplest Way to Make BigQuery and Snowflake Work Like They Should
Teams use bigquery and snowflake together to share data across different cloud analytics systems. This setup lets analysts run queries on tables stored in both warehouses. Many companies store raw event logs in one cloud and financial tables in another. Moving data between these platforms takes clear role rules and safe network paths. When you set up both tools well, teams read shared tables with zero friction. They do not need to manage messy scripts or copy files by hand. How roles and data
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Teams use bigquery and snowflake together to share data across different cloud analytics systems. This setup lets analysts run queries on tables stored in both warehouses.
Many companies store raw event logs in one cloud and financial tables in another. Moving data between these platforms takes clear role rules and safe network paths. When you set up both tools well, teams read shared tables with zero friction. They do not need to manage messy scripts or copy files by hand.
How roles and data flow between bigquery and snowflake
To move data between bigquery and snowflake, you first set up cloud storage buckets. One system writes table snapshots to cloud storage in an open file format. Then the second system reads those files into its own local or external tables.
Each warehouse needs its own cloud identity to read and write those storage files. You create a service account on the Google side with storage read permissions. On the Snowflake side, you configure a storage integration object with a dedicated role. That role holds permissions to read from the exact cloud bucket path you set.
Some teams also use federated query engines to join tables across both systems. In this model, a query engine logs in to each warehouse using separate credentials. Each warehouse checks the user role before it returns any rows to the engine. This keeps table permissions strict on both sides of the data transfer.
Common failure modes and how to scope permissions
The biggest risk in a dual warehouse setup is a shared service account key. Teams often create one admin key and paste it into many data pipeline jobs. If that static key leaks, an attacker can read data from both platforms.
Broad permissions create another common failure mode for data engineering teams. When a sync role has admin permissions, a bad script can drop production tables. It can also read private tables that should stay inside one single warehouse.
Snowflake Access Control + BigQuery IAM: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Unlogged queries also cause huge headaches during security audits. When ten analysts share one warehouse role, the audit log shows one generic name. You cannot tell which person ran an expensive query or exported customer records.
To fix this, give every pipeline and user a narrow role in each system. Grant read permissions only on the exact schemas that need to cross over. Use short-lived tokens through workload identity federation instead of static downloaded keys. Lock down network paths so only approved cloud networks can reach each warehouse.
Keeping sensitive columns safe across both warehouses
When you sync tables between two clouds, private data can spread too far. A table with customer emails or phone numbers might land in a broad analytics zone. Card numbers and national IDs need strict rules in both systems.
You must match your column rules across both platforms before data moves. If one warehouse masks phone numbers, the receiving warehouse must apply the same rule. Data masking rewrites matched fields in results so analysts only see safe values. Keep your role policies in sync so neither platform becomes a weak link.
Govern statements and responses across databases and APIs
Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.
First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.
Frequently asked questions
What is the best file format to share data between these warehouses?
Open table formats like Apache Iceberg or Parquet files work best for shared storage. Both systems can read these files directly from cloud buckets without slow data copies.
How do we avoid static keys when moving data between clouds?
Use workload identity federation between your cloud provider and your data warehouse roles. This lets the storage integration verify identity using short-lived tokens instead of static keys.
How can we keep audit logs clear when teams query both systems?
Map every human user to their own federated identity in your single sign-on tool. Never let analysts share a single service account role for daily query work.
Related guides
In this post