13 ms·
A SQL-Inspired Query Language Designed for Event Sourcing (2025)
- deleted 4mo ago[deleted]
- zX41ZdbW 4mo agoThere is already a database named EventQL: https://github.com/eventql/eventql https://github.com/eventql/eventql I covered it in my presentation: https://presentations.clickhouse.com/2018-unknown_developers_reissue/ https://presentations.clickhouse.com/2018-unknown_developers...
- cgio 4mo agoLooks well thought out, but what are the mechanics of plugging this into reactive workflows? I always thought a nice event sourcing query language would evolve along the thoughts in https://picolabs.atlassian.net/wiki/spaces/docs/pages/1189890 https://picolabs.atlassian.net/wiki/spaces/docs/pages/118989...
- relistan 4mo agoHaving built two production, scaled evented systems over the last decade, I don’t see the need for this. Properly designed events flatten to a table schema in a regular DB quite easily. Tools like Trino/Presto and therefore Athena, let you deep query on a JSON field, as well (e.g. against a Parquet-based event store on block storage), so if you use a standard envelope, the bodies are all still available without having to provide the schema for every event. This works to quite huge amounts of data given that you do rollups and/or snapshots.