Google Cloud has extended the borderless Lakehouse pattern by adding a Knowledge Catalog integration (preview) that supplies business context to Gemini Enterprise agents. Instead of querying raw tables alone, agents can now look up imported semantic models—such as finance revenue definitions in Snowflake and loyalty tier metrics in Databricks—and answer questions with the same meaning the organization uses.
Context Engineering Overview
Context engineering refers to the practice of attaching curated business semantics to data assets so that downstream consumers, including generative AI agents, can resolve ambiguous terms. In this release, the workflow consists of importing semantic views from Snowflake and Databricks into Knowledge Catalog, creating a context set that maps those views to the underlying federated Iceberg tables, and enabling Gemini Enterprise to resolve the context before executing a BigQuery query.
Architecture and Implementation Steps
The architecture builds on the existing borderless Lakehouse, which already federates Snowflake, Databricks and AWS Glue tables for direct querying from BigQuery. The new layer adds:
- A Knowledge Catalog import of each semantic model (e.g., the Snowflake view
SF_RETAIL_DB.SHOP.FINANCE_SALESthat defines revenue as completed orders only). - A context set that links the imported model to its source Iceberg table and records the relationship between the two systems.
- The Gemini Enterprise connector (preview) that reads the context set, resolves terms, and then runs the query against BigQuery.
Implementation requires the same federated Iceberg table setup described in the prior cross‑cloud post, plus the API and IAM permissions listed in the Snowflake and Databricks connector guides, the Knowledge Catalog context‑set documentation, and the Gemini Enterprise BigQuery connection prerequisites. Sample data and scripts are available in the lakehouse‑solutions GitHub repository under the cross‑cloud‑semantic‑context directory.
-- Excerpt from the Snowflake semantic view SF_RETAIL_DB.SHOP.FINANCE_SALES
METRICS (
orders.net_sales AS SUM(CASE WHEN status = 'COMPLETED' THEN order_amount ELSE 0 END)
WITH SYNONYMS = ('total sales', 'spend', 'revenue')
COMMENT = 'Net sales in USD. Completed orders only, returned orders are excluded'
)
Similarly, the Databricks metric view defines loyalty tiers, with non‑members left without a tier. Once both views are registered in Knowledge Catalog, Gemini Enterprise can answer a query like “What was revenue last quarter?” using the finance definition, and “How many customers are in each loyalty tier?” using the marketing definition, without manual disambiguation.
Operational and Security Considerations
Because the Knowledge Catalog integration is a preview feature, engineers should treat it as a change‑controlled component and monitor for updates. Access to the catalog and context sets is governed by the same IAM policies that protect the underlying data sources, so appropriate roles must be granted to the Gemini Enterprise service account. Synchronization between semantic models and their context entries is a manual step; drift can cause agents to fall back to default interpretations, so a governance process for updating context sets when source views change is advisable.
From an operational standpoint, the added lookup adds latency proportional to the catalog query, which should be factored into SLA calculations. Logging of context‑set accesses is available through Cloud Logging, enabling audit of which definitions were used for a given AI request.
Related CloudNinjas coverage: Google Cloud.
What This Means For Practitioners
Practitioners should evaluate whether their organization already maintains semantic models in Snowflake, Databricks or similar platforms. If so, importing those models into Knowledge Catalog can tighten AI‑driven analytics by enforcing a single source of truth for key business metrics. The next steps are to:
- Enable the Knowledge Catalog integration for Gemini Enterprise in a test project.
- Register existing semantic views and create context sets that map to the federated Iceberg tables.
- Validate that AI queries return results consistent with the intended definitions.
- Establish a change‑management process to keep context sets in sync with source view revisions.
Monitoring catalog access patterns and reviewing IAM bindings will help ensure that the added context layer does not unintentionally broaden data exposure. As the preview matures, watch for GA announcements, updated quota limits, and any additional security hardening that Google Cloud may introduce.

