It is not really Postgres, the queries are run on DuckDB. Yeah, DuckDB is really fast for analytical queries.
We embed DuckDB in our extension as the vectorized execution engine on columnstore tables.
Why rebuild a vectorized execution, when DuckDB has a lot of GREAT properties for this workload (similar syntax to Postgres, embedability).
Here's our architecture: https://www.mooncake.dev/blog/how-we-built-pgmooncake
We implement segment-elimination to do so. We even blogged about it: https://www.mooncake.dev/blog/duckdb-parquet