Migrate from Google BigQuery to Trino: what the move involves
The move is a data export, a table rebuild on Iceberg, a query translation and a controlled cutover. Teams usually start this work after a BigQuery renewal, a cost review, a data residency requirement or concern about lock-in. Each stage has its own owner and its own checks, and the effort depends mostly on how many tables, scheduled queries, pipelines and BI dashboards read from BigQuery today. A small set of datasets with a few dashboards is a different project from hundreds of tables feeding nested-data transformations, so count those objects before estimating anything. Platform engineering usually owns storage, the catalog and the Trino cluster, data engineering owns the table rebuilds and pipeline changes, and BI or analytics teams own the dashboard and report repointing and sign-off.
Trino does not store data itself. It queries data where it lives through connectors, so a Trino lakehouse needs object storage for the Parquet or Avro files and a table catalog, such as an Iceberg REST catalog or Hive Metastore, before any table can be created. These pieces are one-time build work, and they recur as ongoing operations: patching Trino, running the catalog and object storage, and handling access control. The Trino deployment documentation describes a coordinator plus workers on 64-bit Linux, and the Trino Iceberg connector documentation lists the catalog types it supports. Confirm with your platform team which catalog and storage pattern fits your existing identity and backup standards before exporting anything, because changing the catalog later means rewriting table metadata.
Export is the first technical step. Export the BigQuery tables to Cloud Storage in Parquet or Avro, keeping each file under the 1 GB per file limit, then land them as Iceberg tables in your own storage. Translate GoogleSQL to Trino SQL, repoint scheduled queries and BI connections, and compare row counts, aggregates and sample rows for every migrated table against BigQuery before you switch consumers. Keep BigQuery running in parallel until the comparison passes and each dependent dashboard owner signs off. Trino's BigQuery connector can query both systems during the transition, which lets teams move one domain at a time. Ask your BI tool vendor and your data engineers to confirm which connection types and functions need changes, because these vary by tool.
Which BigQuery capabilities map to Trino, and which need rework
This table maps each BigQuery capability you rely on to its closest Trino and Iceberg equivalent and marks it clean, needs rework or gap. Read the rework rows as the work your data, queries and BI models need before cutover, and the gap rows as functions you must replace with another tool. The main takeaway is that storage and tables move cleanly to Iceberg, while SQL, scheduling and governance take most of the effort.
| BigQuery capability | Trino and lakehouse equivalent | Status and what to plan |
|---|---|---|
| Datasets and tables | Iceberg tables in your object storage, registered in a catalog such as Hive Metastore, AWS Glue, Nessie or an Iceberg REST catalog | Clean for data. Each dataset becomes a schema, and you choose the catalog that Trino and Spark will share. |
| GoogleSQL queries | Trino SQL through the Trino query engine | Needs rework. Trino SQL differs from GoogleSQL in functions, quoting, array and struct handling and date arithmetic, so each saved query needs translation and result comparison. |
| Scheduled queries | An external scheduler such as Apache Airflow or cron running Trino statements | Gap. Trino does not schedule queries itself, so you must add and operate a scheduler, retries and alerting. |
| Authorized views | Trino views combined with file-based rules, Apache Ranger or Open Policy Agent | Needs rework. Trino views exist, but the grant model differs, so you must redesign which principals can see which views. |
| Row and column security | Trino access control at catalog, schema, table and column level through file-based rules, Apache Ranger or Open Policy Agent | Needs rework. These options are file-based, Apache Ranger or Open Policy Agent, so you must write and test policies that match your BigQuery rules. |
| Partitioned and clustered tables | Iceberg hidden partitioning and sort order, with partition evolution and data file layout tuned for your queries | Needs rework. Partitions carry over, but clustering maps to sort order or file layout, and you must retune both against your query patterns. |
| BigQuery connector for gradual moves | Trino's BigQuery connector, so Trino can query BigQuery and Iceberg tables side by side during the transition | Clean for read access during migration. Check the connector's supported types and the BigQuery permissions and costs it triggers on each query. |
| BI connections | Trino JDBC or ODBC drivers, or BI tools with Trino connectors, pointed at the new catalog | Needs rework. Dashboards, semantic models and extracts must be repointed and their SQL retested, and some BI tools need a different connector. |
How a Trino lakehouse replaces BigQuery storage and compute
BigQuery couples managed storage with its query service, so tables, metadata and execution all sit inside one Google-operated product. Trino takes a different shape. It queries data where it lives through connectors and does not load it into storage of its own, so a Trino lakehouse needs three separate pieces: object storage for the Parquet, ORC or Avro files, a table catalog that tracks table metadata, and the Trino cluster itself. The catalog choice is the decision with the widest reach. Trino's Iceberg connector works with Hive Metastore, AWS Glue, JDBC, REST, Nessie and Snowflake catalogs, selected through the iceberg.catalog.type setting. Confirm which catalog your existing Spark, Hive or BI tooling already reads from, because a second catalog adds an operational service to run and back up.
Iceberg is the natural landing format because it gives the table features that a plain file dump does not. Schema evolution works without rewriting the table, time travel reads exact historical snapshots, and rollback returns a table to an earlier state, which matters when a migrated table turns out to have wrong types. Trino's Iceberg connector reads Parquet (the default), ORC and Avro, and supports INSERT, UPDATE, DELETE and MERGE, so a scheduled BigQuery job that rewrites a partition can often be ported to a MERGE. Trino's Iceberg connector supports format versions 1 and 2, with version 3 listed as experimental. Choose the format version deliberately during table creation and test it with the engines that will read the tables, since not every reader supports every version.
What data and integrations move, and through which export path
A BigQuery move is more than copying tables. The data leaves through Cloud Storage, while scheduled queries, BI models, service accounts and downstream pipelines each need their own decision about whether they are rebuilt, repointed or retired. Work through these items in order before setting a cutover date.
Table export to Cloud Storage
Extract jobs and EXPORT DATA write BigQuery tables to Cloud Storage, which is the export destination to plan around. Choose Parquet or Avro, and check each table against the 1 GB per file limit so large tables are split into multiple files. Nested and repeated fields need a format decision up front, since flattening changes the schema your Trino tables will expose. Confirm current export options with Google's documentation before scripting them.
Landing data as Iceberg tables
Exported Parquet or Avro files are only the transport. Register them as Apache Iceberg tables so Trino, Spark and other engines read the same snapshots, with a catalog such as Hive Metastore, AWS Glue or an Iceberg REST catalog holding the table definitions. Decide partitioning and table ownership at this step, because Iceberg allows schema changes later without rewriting data.
Apache Iceberg siteGradual reads with the BigQuery connector
Trino's BigQuery connector lets you query BigQuery from the new cluster while tables are moved in batches. This allows joins between migrated Iceberg tables and tables still in BigQuery during the transition. Check that the service account used by Trino has only the read roles it needs, and measure how much data each cross-platform query pulls from Google.
Trino connectorsScheduled queries and their logic
Scheduled queries in BigQuery run on Google's scheduler and write to destination tables, so each one needs an owner, a schedule and a replacement job on your own orchestrator. Inventory them with their GoogleSQL, destination tables and failure alerts. Translate the logic to Trino SQL, then compare row counts and aggregates for a full period before disabling the BigQuery original.
BI dashboards and semantic models
Dashboards, saved reports and any semantic layer built on BigQuery views depend on table names, column types and the query patterns they generate. Repoint each data source to the new Trino catalog, then test filters, date handling and nested field access. Confirm that the BI tool has a supported Trino driver and that its connection uses the same access controls you set for the lakehouse.
Service accounts and IAM
Every export job, scheduled query and connector depends on a Google service account with specific IAM roles on datasets and buckets. List which accounts touch which datasets, then map each one to a Trino user, a file-based or LDAP authentication source and an access control rule. Remove broad project-level grants once the replacement works, so access rights do not outlive the migration.
Downstream pipelines and the Storage Read API
Ingestion jobs, reverse ETL and applications that read BigQuery directly are often missed in the inventory. Trace every consumer through query logs and job history. The BigQuery Storage Read API is an alternative extraction path for streaming large reads; confirm its current limits, quotas and pricing with Google documentation before choosing it over Cloud Storage exports.
BigQuery pricingThe migration sequence from inventory to decommission
This sequence moves BigQuery workloads to a Trino and Iceberg lakehouse in controlled stages, so each domain is proven against its own results before BI tools and schedules depend on the new path. Each step closes with a written output that the next step relies on.
Inventory tables, queries and consumers
List every dataset, table, view and routine in the BigQuery projects in scope, with its size, owner, refresh schedule and downstream users. Pull query history for the same period so you know which tables are read, how often, and by which service accounts, BI tools or scheduled queries. Confirm the list with each owner. The output is a signed-off inventory that ranks domains by business risk, row volume and dependency count, and marks which objects can be retired rather than moved.
Pilot one domain as Iceberg
Choose one bounded domain with clear owners and few downstream dependencies. Export its tables from Cloud Storage as Parquet or Avro, keeping each file within the 1 GB per file limit, then land them as Iceberg tables through a catalog that Trino's Iceberg connector supports, such as the REST catalog or Hive Metastore. Translate the GoogleSQL views and queries for that domain to Trino SQL and run them. The output is a pilot where row counts, sums and sample checksums match BigQuery, and every translated query has been reviewed by its owner.
Run Trino alongside BigQuery
Configure Trino's BigQuery connector so analysts and dashboards can query BigQuery and the new Iceberg tables from one place. Duplicate the key dashboards and scheduled reports so each runs on both paths and the results are written to comparable outputs. Keep BigQuery as the system of record for this period. Track query latency, failures and cost of the Trino cluster. The output is a daily comparison log that shows which metrics differ, why they differ, and whether each difference is accepted by the owner.
Cut over BI and schedules
Repoint BI data sources, extracts and scheduled jobs from BigQuery to Trino for the migrated domains. Freeze writes to the source tables for the cutover window so no new rows arrive mid-check. Then reconcile row counts, key totals and aggregates for each table against BigQuery and record the result. Keep the BigQuery path available so you can switch back if a reconciliation fails. The output is a signed reconciliation record per domain and a confirmed list of repointed dashboards and jobs.
Decommission BigQuery datasets
After the agreed retention period and the rollback window have passed without a reported issue, remove the migrated BigQuery datasets and any exports left in Cloud Storage that are no longer needed for audit or recovery. Confirm retention requirements with your compliance and legal teams before deleting anything. Revoke service accounts and IAM bindings that only the old path used. The output is a decommission record listing each dataset removed, the date it was removed, and the approver, which you keep with the migration evidence.
Running Trino and BigQuery in parallel before cutover
Trino can query BigQuery and the new lakehouse in the same SQL session during the parallel run. Its BigQuery connector reads the existing datasets, while the Iceberg connector reads the tables you have landed in object storage, so a single query can compare both sides of a table without a copy. Each BigQuery dataset maps to a Trino catalog, and the migrated tables sit in a separate Iceberg catalog backed by a REST catalog or Hive Metastore. Confirm the BigQuery connector's authentication and project settings with your platform team before the first comparison, because the service account needs read access to every dataset under test.
Compare each table on three levels: row counts, aggregates on numeric and date columns (sums, min and max, distinct counts on keys), and a fixed sample of rows selected by primary key. Record the results per table in a shared sheet with the query text and the run date, so the evidence can be reviewed later. Some differences are expected, such as timestamp precision, floating-point rounding and time zone handling, so write down the tolerance for each column type before you run the checks. Keep the cutover criteria in writing and signed by the data owners, covering the tables in scope, the tolerance, the number of consecutive business cycles that must match (for example, a month-end close, which your finance team should name), and who approves the switch.
Keep the BigQuery datasets intact until results agree across the agreed cycles, because they are the rollback path if a downstream report or pipeline breaks after cutover. Fault-tolerant execution in Trino is off by default and is enabled with a QUERY or TASK retry policy. The TASK policy, recommended for large batch queries, needs an exchange manager that spools intermediate data to S3, Azure Blob Storage, Google Cloud Storage or HDFS, so decide which storage will hold the spool before you run the long reconciliation jobs. Set a retention and cleanup rule for those spool files and the migrated tables' snapshots, and confirm the storage cost with your cloud provider, since BigQuery's own storage charges will continue until the datasets are removed.
What drives migration cost and duration
This table lists the main drivers of effort in a BigQuery to Trino move, explains why each one matters, and gives practical ways to reduce it. Use it to scope a quote, because each row names something a provider should size before agreeing a fixed scope.
| Driver | Why it changes cost or effort | How to keep it down |
|---|---|---|
| Table count and total bytes exported | Each table needs an extract to Cloud Storage, a file layout, and a load into an Iceberg table. Total bytes drive transfer, staging storage and load time, and BigQuery export is limited to 1 GB per file. | Inventory tables by size and last-read date, drop unused tables, and export only what the Trino workloads need first. |
| GoogleSQL queries and UDFs to translate | Trino SQL differs from GoogleSQL in functions, array and struct handling, and date types. Each query and JavaScript or SQL UDF needs rewriting and testing against result sets. | Pull query history to rank queries by frequency, retire dead ones, and convert shared UDFs once into reusable Trino functions or views. |
| Scheduled query count | Each scheduled query has its own timing, destination table and dependencies. Moving them means rebuilding the scheduler, typically with an orchestrator, and reconciling outputs during parallel runs. | List scheduled queries with owners and downstream consumers, then group them by pipeline so they cut over in batches. |
| BI dashboards tied to BigQuery | Dashboards hold connection settings, datasets, and calculated fields. Each one needs repointing, re-testing and sign-off by its business owner. | Count dashboards per data source and consumer, prioritize those used by finance or regulators, and confirm each BI tool supports a Trino connection. |
| Security model complexity | BigQuery uses IAM roles on projects, datasets and tables, plus column and row controls. Trino needs its own authentication, file-based, Ranger or OPA access control, and catalog-level rules that must match the old grants. | Map existing IAM bindings to a small set of roles, write them as policy, and test denial cases as well as allowed access. |
| Catalog and identity integration | Iceberg tables need a catalog such as a REST catalog, Hive Metastore or AWS Glue, and users need SSO through LDAP, OAuth 2.0 or certificates. Each integration is a separate configuration and test effort. | Confirm which catalog and identity provider the organization already operates, and ask for the integration to be scoped as its own deliverable. |
| Trino cluster sizing and operations | Coordinator and worker sizing depends on query concurrency and memory. Fault-tolerant execution with the TASK policy needs an exchange manager on object storage. Running on Kubernetes with Helm or on virtual machines changes upgrade and monitoring work. | Size from a load test using real query history, choose the deployment model your platform team already runs, and ask for upgrade and patch procedures in the quote. |
| Staffing and skills | Migration needs data engineers for pipelines, analysts for SQL and dashboards, platform engineers for the cluster, and security staff for access control. Ongoing operations continue after cutover. | Name the internal owners early, ask the provider which roles it supplies and which it expects the client to fill, and separate one-time migration work from recurring operations support. |
How the move differs by starting point
A single analytics team with a handful of datasets usually has a short inventory and a few owners who know every table. The main risk is building more platform than the workload needs. Trino on a small cluster, an Iceberg REST catalog and one object store can often carry the first wave, and the sequence can start with the datasets that feed the most-used dashboards.
- Inventory first: List every table, view and scheduled query in the BigQuery project, and mark which ones are still used. Unused objects are cheaper to drop than to translate.
- Narrow first wave: Pick one or two datasets with clear owners and a known consumer, then land them as Iceberg tables and compare row counts and aggregates.
- Keep the platform small: A single coordinator with a few workers, following the deployment documentation, is often enough to start. Confirm sizing with a test load rather than assumptions.
- Plan one BI cutover: Repoint one dashboard tool to Trino, then move the rest once the first results match.
- Decide who runs it: Assign a named owner for the cluster, catalog and upgrades, since a small team has no spare operator.
Before cutover, confirm with the team which reports they rely on and agree in writing which numbers must match.
A warehouse shared by several business domains usually has many scheduled queries, cross-dataset joins and consumers who never talk to the platform team. The work is less about moving bytes and more about finding every dependency. Sequencing by domain lets each owner validate their own outputs and limits the blast radius of a bad translation.
- Map dependencies: Use BigQuery job history and INFORMATION_SCHEMA views to find which scheduled queries read which tables, and which downstream jobs depend on them.
- Migrate by domain: Move one business domain at a time, with its owner signing off on outputs before the next domain starts.
- Run in parallel: Trino's BigQuery connector can query source tables while Iceberg copies are built, so teams can compare results side by side during the transition.
- Repoint schedules: Rebuild scheduled queries as orchestrated jobs, and keep a record of which schedule replaced which query.
- Set access rules per domain: Trino's file-based access control, Apache Ranger or Open Policy Agent can mirror existing dataset permissions, which must be confirmed against the current IAM bindings.
Ask each domain owner to list the reports and jobs they depend on, since the BigQuery metadata alone rarely shows dashboards built in external tools.
In a regulated organization, the migration is judged on evidence as much as on query results. Residency, access logging and retention must be shown to hold for the exported files, the Iceberg tables and the Trino cluster itself. Compliance and security teams need to review the design before data moves, not after.
- Document data flows: Record where export files sit in Cloud Storage, which region they live in, and where the Iceberg data is written in your own object storage.
- Control authentication and authorization: Confirm the chosen Trino authentication method, such as LDAP, OAuth 2.0, Kerberos or certificates, and the access control approach, with logs that show who queried what.
- Protect exported copies: Decide how temporary Cloud Storage copies are deleted after landing, and show that deletion in the change record.
- Verify fault tolerance and recovery: Fault-tolerant execution is off by default, so the team must decide whether large batch queries need it and where spooled data is stored.
- Build the evidence pack: Keep design records, test results and reconciliation reports so auditors can trace each dataset from source to target.
Before starting, ask your compliance lead which controls the migration must preserve and which independent assessor will review them.
A team that already runs Apache Spark, Iceberg or another open table format has most of the lakehouse pieces in place. The migration is mainly a source change: BigQuery becomes one more input, and the work shifts to catalog consolidation, query translation and avoiding duplicate copies of the same data.
- Reuse the catalog: If an Iceberg catalog already exists, such as a Hive Metastore, AWS Glue, REST or Nessie catalog, add the migrated tables there rather than creating a second one.
- Choose the write path: Decide whether Spark, Trino or another engine writes the Iceberg tables, and confirm that the chosen engines support the table format version in use.
- Test time travel and schema changes: Iceberg snapshots and schema evolution help with reconciliation, so use them to compare states during cutover and keep a rollback path.
- Consolidate SQL dialects: Translate GoogleSQL once into the dialect the team already uses, so Spark and Trino jobs do not drift apart.
- Retire duplicate pipelines: Check whether existing Spark jobs already reproduce BigQuery outputs, and remove redundant copies once results match.
Confirm the exact Iceberg and engine versions in your environment, since compatibility depends on them, and test each engine against the migrated tables before cutover.
What usually goes wrong in a BigQuery to Trino move
Most failed BigQuery to Trino moves do not fail loudly. Queries run, tables load, and dashboards render, but the numbers drift, scheduled jobs stop, or access rules quietly disappear. The cards below cover the places where these problems start, with a prevention step for each so the checks happen before cutover rather than after a business user notices.
GoogleSQL semantics drift silently
Queries that translate cleanly can still return different results. Implicit and explicit casts, how NULL propagates through comparisons and aggregates, and date and timestamp functions with time zone handling can all differ between GoogleSQL and Trino SQL. A query that runs without error is not evidence that it returns the same answer. Prevention: for each critical report, run the BigQuery and Trino versions against the same exported snapshot and compare row counts, sums and distinct keys on the same date range.
Iceberg connector docsNested and repeated fields flatten incorrectly
BigQuery STRUCT and ARRAY columns are often exported in formats that Trino and Iceberg represent differently, and a naive flatten step can duplicate rows or drop elements. Joins written against UNNEST in GoogleSQL do not always map one to one onto Trino's syntax. Prevention: choose the target schema per nested column before export, keep the Parquet or Avro type definitions in a reviewed schema file, and reconcile row counts after UNNEST against the source query output.
Partial exports from the 1 GB file limit
BigQuery extract jobs to Cloud Storage split output into files, and the per-file size limit is 1 GB, so large tables produce many objects that must all be present before loading. A failed or interrupted job can leave a subset of files that looks complete in a folder listing. Prevention: record the expected file list from the job metadata, compare object counts and checksums in Cloud Storage, and load only after the full manifest matches.
Scheduled queries break without notice
BigQuery scheduled queries, materialized refresh jobs and saved transfers often run unattended and are owned by individuals who have left. When they stop, downstream tables go stale without an error in Trino. Prevention: inventory every scheduled query and its destination table before migration, assign an owner to each, and replace them with orchestrated jobs that alert on failure and on missed runs.
Identity and row-level policies not carried over
Dataset-level IAM, column-level security and row access policies in BigQuery do not move with the data. Trino authenticates users through its own mechanisms and enforces access through file-based rules, Apache Ranger or Open Policy Agent, so an export can leave sensitive columns readable by everyone with catalog access. Prevention: map each BigQuery policy to a Trino access rule before loading data, test denied and allowed queries per group, and confirm the chosen authentication method with your identity team.
Worker sizing and memory failures in large joins
Large joins and aggregations that BigQuery spreads across its managed slots can exhaust memory on a self-hosted Trino cluster with too few or undersized workers. Trino's fault-tolerant execution is off by default and needs an exchange manager spooling to object storage if you want retries on long batch queries. Prevention: load test your heaviest queries on a staging cluster, set memory limits per query, and confirm the fault-tolerance policy and spooling location before cutover.
No retention plan for the catalog
Iceberg tables accumulate snapshots, metadata files and orphaned data files, and BigQuery's time travel window does not carry over. Without a plan, storage grows and rollback options are unclear. Prevention: decide how long snapshots are kept, schedule snapshot expiration and orphan file cleanup, document the rollback procedure, and back up the catalog metadata store alongside the object storage bucket.
How the parts of the migration connect
The flow starts with BigQuery datasets exported to Cloud Storage as Parquet or Avro, inside the client's cloud account. Those files are loaded into Iceberg tables on self-hosted object storage, with a catalog recording table metadata. Trino reads the Iceberg tables and, through its BigQuery connector, the remaining BigQuery datasets during the parallel run, so results can be compared. BI tools are repointed to Trino only at cutover, after row counts and query outputs match.
Data moves from BigQuery exports into Iceberg tables that Trino queries during the parallel run.
Questions buyers ask before moving from BigQuery to Trino
What drives the effort and cost of moving from BigQuery to Trino?
The main drivers are how many datasets and tables you have, how much scheduled query and BI logic depends on GoogleSQL, and how much of your data must be exported and rewritten into Iceberg. Costs fall into one-time work (export jobs, GoogleSQL translation, pipeline repointing, validation) and recurring costs (compute servers or Kubernetes capacity, object storage, the catalog service, backups and operations staff). BigQuery's own bill is driven by per-TiB scanning on-demand or slot reservations under editions, and storage beyond the first 10 GiB each month, so the savings depend on your query patterns. Ask any provider for a quote that separates export, translation, platform build, testing and run costs, and that states which of them recur.
How long does a BigQuery to Trino migration take?
The length is set by the number of datasets, the volume of data to export, how many scheduled queries and dashboards must be repointed, and how much GoogleSQL needs manual rewriting. Two other factors matter: how many teams must sign off on results, and whether you run BigQuery and Trino side by side during cutover. A workable plan usually starts with a small set of representative tables, proves the export, Iceberg landing and query results, then moves the rest in waves. Ask for a timeline built from a written inventory of tables, queries and BI objects, not from a single estimate for the whole estate.
What does the migration need from our own team?
You need named owners for data domains, someone who can approve the target Iceberg table design, and people who know the business meaning of key reports so they can judge whether results match. Platform and security staff must provide the cloud account, object storage buckets, network paths, identity integration and the catalog choice. Analysts and BI owners must test their dashboards and sign off on cutover. Plan for these people to spend time in review sessions during the project, even when an implementation partner does the engineering.
Can our in-house team run this migration without outside help?
Yes, many teams with strong SQL, data engineering and Kubernetes or VM operations skills do it in-house, but the work has more parts than a query rewrite. The team must build and operate the Trino cluster, choose and run an Iceberg catalog such as Hive Metastore, AWS Glue, JDBC, REST or Nessie, set up authentication and access control, and build export, validation and backup routines. Be honest about capacity: if the same people must keep existing pipelines running, the migration tends to slip. An outside partner can take scoped parts, such as the platform build, security hardening or results testing, under a written fixed-scope agreement.
Can Trino query BigQuery while we migrate?
Yes. Trino ships a BigQuery connector, so you can point a Trino catalog at BigQuery and query it next to your Iceberg tables. This lets teams move workloads one dataset at a time and compare results before switching consumers. Confirm the connector's current behavior, supported data types, authentication setup and any cost implications with the Trino documentation and your own Google Cloud project, because BigQuery read charges still apply to queries that go through the connector. Treat it as a bridge for validation and gradual cutover, not as a permanent architecture unless you have assessed that cost.
How does the 1 GB per file limit affect exports from BigQuery?
The 1 GB per file rule means BigQuery exports to Cloud Storage split large tables into multiple files, so your export job, file naming and reload logic must handle many objects per table. Use wildcard destination URIs so each file lands in order, and export in Parquet or Avro, which preserve types better than CSV for most tables. Nested and repeated fields need checking after export because Iceberg and Trino must map them correctly. Plan for more objects to list, track and verify, and keep row counts and checksums per table so you can prove that every file arrived. Confirm the export options and limits in Google's current documentation before you script the process.
What does Trino need for security and identity?
Trino supports several authentication methods, including password file, LDAP, OAuth 2.0, Kerberos, certificates and JWT, and access control can be file-based or delegated to Apache Ranger or Open Policy Agent. You also need TLS for client connections, controls on the object storage buckets and catalog service, and audit logging of queries and access. Map BigQuery's dataset and table permissions to Trino roles and to Iceberg table access before cutover, and test that row or column restrictions still hold. Security reviews will ask how credentials for the storage and catalog are stored and rotated, so document these controls early. DeployOpen can plan, implement and test these controls in your infrastructure, but compliance evidence must come from your auditors.
How do we confirm results match BigQuery before cutover?
Compare each migrated table and each key report against BigQuery before any consumer switches. Start with row counts, null counts, distinct key counts and checksums per column, then run the top business queries on both engines and compare outputs, including date boundaries, rounding and timezone handling. Keep a written list of accepted differences signed off by the data owner. Test scheduled queries and BI dashboards with real users, and keep BigQuery read-only for a fallback period. Ask any provider to show their validation method and the evidence it produces.
How DeployOpen scopes and runs a BigQuery to Trino migration
DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts or data centers. For a BigQuery to Trino move, we start from a written scope covering which datasets, scheduled queries and BI tools move, then build the lakehouse in your environment and hand it over with documentation.
How we scope
- Inventory the BigQuery datasets, scheduled queries, routines and BI connections that are in scope for the move
- Agree in writing which tables land as Iceberg tables and which stay in BigQuery behind a Trino connector
- Confirm the Cloud Storage export path, the object storage target, the table catalog and the access model before work starts
How we build
- Deploy Trino, the Iceberg catalog and object storage in your infrastructure with SSO, access control and audit logging configured
- Export tables from BigQuery to Cloud Storage, load them as Iceberg tables and translate GoogleSQL queries to Trino SQL
- Repoint scheduled queries and BI tools, then compare row counts, aggregates and sample results against BigQuery before cutover
How we hand over
- Deliver runbooks for upgrades, catalog maintenance, fault-tolerant execution settings and common failure recovery
- Document the query translation decisions, data validation results and the access controls your security team can review
- Walk your data, platform and security staff through operations so they can run the cluster after handover
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the fixed-scope migration ends
- Test the deployed Trino cluster and its authentication, authorization and data paths on request before wider use
- Prepare the evidence your compliance team asks for on access controls, logging and data handling, without issuing audit reports

