TransitAI Core

Exploration · platform

Yes for the agency. Not as the exchange.

The supervisor asked whether Databricks or Snowflake would fit. Desk research against the project's own needs says a managed lakehouse suits one agency's platform, that the table format should be Apache Iceberg rather than Delta Lake, and that the regional exchange should be a catalogue of catalogues on native AWS services, not a vendor tenant.

Fourteen needs were written down first, from "any engine can read a standard-shaped table" to "a small agency with no platform team can take part", and each option scored against them with a cited reason. The scores are qualitative. The sources are not: eighty of them, dated, in the write-up.

For one agency, Databricks is the reference choice when streaming, Spark and model training all matter, and Snowflake the alternative when the team lives in SQL. Either way the Silver and Gold tables should be Iceberg in the agency's own bucket, so that the next engine, and the region, can read them without asking.

For the region, the deciding question is who can read a governed table without holding a copy. Three mechanisms pass: the open Delta Sharing protocol, any Iceberg REST catalogue with credential vending, and Lake Formation cross-account grants. Only the last carries the row and column filters with the grant for free. Glue can now federate to a partner's catalogue, so the exchange can be a catalogue of catalogues.

Agency platform
A managed lakehouse, Iceberg in the agency's own S3 as the Silver and Gold format
Regional exchange
AWS-native: Glue catalogue federation to each party's Iceberg catalogue, Lake Formation grants with filters generated from the field labels, audit to an object-locked bucket
Clean room
AWS Clean Rooms, fare-card serial as a join column only, output threshold on distinct cards
Live positions
Not the lakehouse. A stream to a key-value store and the GTFS-Realtime feed; the lakehouse is the history path
Change to the design
The README and the Lakehouse page say "on Delta Lake". The format should become Iceberg, with the reason recorded

To test hands-on later. Whether Glue federation to a partner's catalogue enforces the partner's policies or only Lake Formation's. The real latency of a stream into Iceberg tables against the 30-second target. Clean Rooms thresholds on the actual fare table. Each is a day's work with the sample data.

Caveats. Research only, nothing run. Vendor latency figures are published best cases. Databricks Clean Rooms pricing and threshold controls could not be verified. The format landscape is moving: Iceberg v3 support was announced by all three vendors in 2025 and 2026, so the gap between formats may narrow. Sources and dates are in explorations/lakehouse-comparison/README.md.

↑ ↓ to move · ↵ to open · esc to close