What Databricks does here
Databricks is the data and AI platform for development and monitoring. It keeps survey products and telemetry in governed tables, trains and validates the site and maintenance advisors, registers approved versions for a gated release to ground systems, and provides tracing and evaluation. Commercial data is masked by role, and the flight path never calls out to the cloud.
Governance in Unity Catalog
One catalog per environment, with schemas by purpose. Access is granted to groups, never to individuals, and sensitive data is protected in the table, so every notebook, dashboard and evaluation job inherits the control.
| Schema | Contents | Who can read |
|---|---|---|
| bronze | Survey products, telemetry and traces as received | Data engineers |
| silver | Cleaned campaigns, plans, ledger, safe-mode events, assays and model outputs, with commercial columns masked | Engineers and analysts, with masks |
| gold | Evaluation sets, advisor performance reports, KPIs (Key Performance Indicators) and vehicle health views | Operations, assurance and evaluation teams |
| knowledge | Procedure and licence-term index and its source table | The documentation service principal |
| security | Scan results and security events from the gateway | Security operations |
Protecting commercial data in the table
Row filters and column masks make the rule part of the table. Analysts see a masked price; a commercial steward sees it for an approved review.
-- Buyer and price columns are masked except for approved roles
CREATE FUNCTION mining_prod.silver.mask_commercial(value STRING)
RETURN CASE WHEN is_account_group_member('commercial_stewards') THEN value ELSE '***' END;
ALTER TABLE mining_prod.silver.shipments
ALTER COLUMN buyer SET MASK mining_prod.silver.mask_commercial;
ALTER TABLE mining_prod.silver.shipments
ALTER COLUMN price_usd SET MASK mining_prod.silver.mask_commercial;
-- Partners see only their own campaigns
CREATE FUNCTION mining_prod.silver.partner_filter(partner STRING)
RETURN is_account_group_member('mining_internal') OR is_account_group_member(CONCAT('partner_', partner));
ALTER TABLE mining_prod.silver.campaigns
SET ROW FILTER mining_prod.silver.partner_filter ON (partner);The procedure index
Operating procedures, vehicle manuals and licence terms are chunked by clause, tagged with vehicle class, version and effective dates, and stored in a gold table. A Vector Search index (the product is now branded Databricks AI Search) syncs from that table, so a procedure change updates the index without a rebuild. The copilot filters by vehicle class and effective date at query time, so it cannot cite a superseded procedure.
from databricks.vector_search.client import VectorSearchClient
index = VectorSearchClient().get_index(
endpoint_name="mining-knowledge",
index_name="mining_prod.knowledge.procedures_index",
)
def search_procedures(question: str, vehicle_class: str, on_date: str) -> list[dict]:
hits = index.similarity_search(
query_text=question,
columns=["clause_id", "title", "text", "version", "source_url"],
filters={"vehicle_class": [vehicle_class, "all"], "effective_from <=": on_date, "effective_to >=": on_date},
num_results=5,
)
return hits["result"]["data_array"]No rebuild is needed. Effective dates make sure a procedure applies only when it should.
Training, validation and release of models
Training with MLflow
Experiments, datasets and code are tracked, so every model version is traceable to its data.
Simulation validation
Advisors are replayed against recorded and simulated campaigns, with hit rate and calibration reported, before a version can be promoted.
Gated promotion
A model moves through the registry only with passing evaluation and fault-injection results and sign-off under change control.
Ground deployment
Approved versions are packaged and deployed to ground systems through a controlled release. Nothing is deployed to a vehicle from here.
Jobs that keep it current
| Job | Schedule | What it does |
|---|---|---|
| Ingest survey products | On arrival | Lands products in bronze and upserts silver |
| Ingest vehicle telemetry | Continuous | Lands telemetry without customer detail |
| Refresh procedure index | On change, daily check | Re-chunks changed procedures, writes the source table and syncs the index |
| Compare advice with assays | On each assay result | Writes the difference between advised and measured composition |
| Retrain and validate models | On demand, gated | Trains candidates, evaluates in simulation and registers them; promotion needs the gate |
| Nightly evaluation | Nightly and on every release | Runs the evaluation set, writes scores and alerts on regressions |
| Ledger reconciliation report | Daily | Reports gaps by campaign for the logistics review |
What the data answers
- Advised site rankings versus assay results, with uncertainty calibration.
- Safe-mode events, time to safe mode and the causes found in review.
- Ledger reconciliation: gaps by campaign and any release attempted over tolerance.
- Engineer edits to proposals and drafts, which show where advice or drafting falls short.
- Software cost per mission day, from gateway and compute metadata.
Build this for your business
This example is speculative and describes no real mission, but the same pattern, deterministic safety for every hard duty, a governed gateway, runtime security, advisory-only AI and measured quality, fits any remote, high-consequence operation. We can scope a pilot on your own systems.
Book a discovery call