5 New Array and Map Functions in ClickHouse 26.10
Mark Needham
ClickHouse 26.10 adds five handy functions for working with arrays and maps. In this short SQL demo, Mark Needham uses UK weather forecasts to find the coldest and warmest temperatures, compare daily temperature ranges, and remove array elements and map entries.
You'll see how to find the positions of minimum and maximum values with arrayMinIndex and arrayMaxIndex, including passing a lambda to compare daily temperature ranges. We also remove elements by position with arrayRemoveAt, turn maps into arrays of key-value tuples with mapEntries, and remove entries for a specific key with mapRemove.
Documentation:
Get started today
Interested in seeing how ClickHouse works on your data? Get started with ClickHouse Cloud in minutes and receive $300 in free credits.
Sign upRelated videos
View all Videos
How to
CDC ClickPipes: The Fastest Way to Replicate Your Database to ClickHouse
Marta Paes, Senior Product Manager at ClickHouse

How to
Under-the-Hood: ClickHouse Incremental Materialized Views and Dictionaries
Maruthi Lokanathan, Solution Architect at ClickHouse Derek Chia, Principal TAM Architect at ClickHouse

ClickHouse Cloud, How to
LogHouse, Observability for ClickHouse Cloud
Get an insider’s look at LogHouse, the ClickHouse-powered logging platform that drives observability for ClickHouse Cloud.