ClickHouse Newsletter July 2022: Geo queries for railway enthusiasts
ClickHouse's July 2022 newsletter lists upcoming meetups in London, Silicon Valley and Munich plus the v22.7 release webinar, and recaps the 22.6 release: ARM performance work and stack traces, non-constant patterns for LIKE and MATCH, parameters for external UDFs, showCertificate(), and writes to system.zookeeper. Its query of the month loads the England and Wales public transport stops CSV, reduces it to one row per London Underground station, sorts by Lat*Lon, and uses lagInFrame window functions with geoDistance to find adjacent stations. The closest pair turns out to be two entries for the same Heathrow station 4 meters apart, followed by Queensway and Bayswater. A reading list links to user stories and integrations.
Related posts
- pg_clickhouse 0.11.1: Now with pgvector, UPDATE, DELETE pushdown
ClickHouse mediumAdept
pg_clickhouse 0.11.1 maps pgvector's vector type to ClickHouse Array(Float32/Float64) columns. It pushes pgvector distance operators down to ClickHouse functions such as L2Distance and cosineDistance, and reports in EXPLAIN whether a ClickHouse vector_similarity HNSW index applies. It also pushes UPDATE and DELETE down as ClickHouse lightweight updates and deletes on MergeTree tables, along with TRUNCATE; lightweight updates need block number/offset settings enabled and suit changes to under about 10% of a table. Other changes include regr_* aggregate pushdown, OrNull aggregates that match Postgres NULL semantics, JSONB subscript pushdown, session timezone alignment, and Decimal(76,38) for unconstrained numeric.
- State of Geospatial in ClickHouse in March 2026
ClickHouse mediumAdept
ClickHouse's geospatial support has grown from early distance functions to over 90 functions, grid indexes (geohash, H3, S2), and geometry types (Point, Ring, LineString, MultiLineString, Polygon, MultiPolygon) implemented as aliases over Tuple and Array. The new Geometry type (v25.11) is a Variant that holds mixed geometries in one column, and WKT/WKB import and export enable interchange with PostGIS and GeoParquet. Direct parsing of mixed-geometry GeoParquet arrives in 26.3, and a readWKB workaround covers earlier versions. A recurring pitfall is coordinate order: functions expect (longitude, latitude), and flipCoordinates fixes data supplied as lat/lon.
- ClickHouse Newsletter March 2022: There’s a window function for that!
ClickHouse mediumAdept
ClickHouse 22.2 makes projections production-ready and on by default. Projections store re-sorted or pre-aggregated copies of table data that queries are automatically routed to when less data must be read. The release also adds insert_deduplication_token for custom block-level deduplication toward exactly-once inserts, a default_table_engine setting, ephemeral columns, experimental NLP text-classification functions, and implicit casting in dictGet. The window-function section shows three queries on the UK Price Paid dataset: comparing a row against its partition average, finding a property's previous sale with lagInFrame, and sorting by window-function results.
- Postgres week in the Netherlands: PGDay Lowlands & Percona Live 2026
ClickHouse easyNovice
Notes from PGDay Lowlands in Utrecht and Percona Live in Amsterdam, covering two ClickHouse-maintained Postgres extensions and several PostgreSQL 19 features. pg_clickhouse is a foreign data wrapper that lets unmodified Postgres queries and ORMs run against ClickHouse via pushdown, with 15 of 22 TPC-H queries fully pushed down. pg_stat_ch streams per-query execution events through a shared-memory ring buffer to ClickHouse without back-pressure. Also covered: the new PostgreSQL 19 plan-stabilization modules pg_plan_advice and pg_stash_advice, and PostgreSQL 19 monitoring changes including WAIT FOR, pg_stat_lock, wal_fpi_bytes, and log_lock_waits on by default.
- ClickHouse Newsletter August 2022: Airlines are maybe not that bad
ClickHouse mediumAdept
ClickHouse's August 2022 newsletter introduces ClickBench, a benchmark for analytical databases built on a real-world web analytics dataset, and summarizes the 22.7 release: positional arguments on by default, deprecation of the Ordinary engine, new direct and full_sorting_merge join algorithms, a MongoDB table function, additional table and result filters, and HTTP support in clickhouse-go. The query of the month cleans the OnTime flight dataset with a regex on tail numbers, then uses sequenceMatch to count planes whose delays worsen versus recover within a day. Slightly more delayed planes catch up (about 7.26M) than fall further behind (about 6.88M), though average delays have roughly doubled since the 1990s.