---
title: "Exploring Global Internet Speeds using Apache Iceberg and ClickHouse"
description: "ClickHouse's iceberg table function can query the Ookla global internet-speed dataset (128M rows) directly from S3."
url: "https://swe.quest/articles/exploring-global-internet-speeds-using-apache-iceberg-and-clickhouse-2b3375957fd7714d"
canonical: "https://clickhouse.com/blog/exploring-global-internet-speeds-with-apache-iceberg-clickhouse"
source: "ClickHouse"
published: "2024-02-08"
difficulty: "medium"
kind: "How-to"
reading_minutes: 25
tags: ["analytics","geospatial","sql","data-pipelines"]
---

# Exploring Global Internet Speeds using Apache Iceberg and ClickHouse

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2024-02-08, 25 min read, How-to. Original: [https://clickhouse.com/blog/exploring-global-internet-speeds-with-apache-iceberg-clickhouse](https://clickhouse.com/blog/exploring-global-internet-speeds-with-apache-iceberg-clickhouse)

## Summary

ClickHouse's iceberg table function can query the Ookla global internet-speed dataset (128M rows) directly from S3. The schema comes from Iceberg metadata, and the walkthrough includes aggregations such as download-speed quantiles. It notes current gaps: no v2 row-level deletes or schema evolution, no partition pruning, S3-only support, and no use of sort order for file skipping. The data is then loaded into a MergeTree table, WKT tiles are parsed into Ring types, and polygon centroids are computed with shoelace-formula SQL UDFs built on arrayFold. The polygons are rendered as SVG maps using only SQL, with h3 indexes, polygon dictionaries, Mercator projection and color interpolation.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Maps & geospatial](https://swe.quest/tags/geospatial.md) (Domains)
- [SQL](https://swe.quest/tags/sql.md) (Languages)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)

## Prerequisites

- SQL ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- ClickHouse basics ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))
- basic geospatial concepts ([easy posts on Maps & geospatial](https://swe.quest/tags/geospatial.md?difficulty=easy))

## Keywords

ClickHouse, Apache Iceberg, Ookla, H3, SVG, WKT, Parquet, Amazon S3

## Related posts

- [Climbing the Iceberg with ClickHouse](https://swe.quest/articles/climbing-the-iceberg-with-clickhouse-ce9c336aa71545a5.md): ClickHouse · 2025-02-19 · Medium · 12 min read · Analytics & OLAP, Data pipelines, Query engines
  ClickHouse fits into data lake and lakehouse architectures in three common ways: incrementally loading object-storage or Iceberg data via s3cluster/S3Queue (or double-writing from Kafka), running ad-hoc and federated queries against Iceberg, Delta and Hudi tables plus PostgreSQL, MySQL and MongoDB, and frequently querying shared lakehouse datasets.
- [Visualizing Foursquare places with ClickHouse](https://swe.quest/articles/visualizing-foursquare-places-with-clickhouse-7a2e9fe18ad158f7.md): ClickHouse · 2025-05-08 · Medium · 5 min read · Maps & geospatial, Analytics & OLAP, SQL
  The Foursquare open places dataset (about 100 million records) loads straight from S3 Parquet into ClickHouse in 42 seconds and 11 GB.
- [ClickHouse is data lake ready](https://swe.quest/articles/clickhouse-is-data-lake-ready-bebd3b2969b76478.md): ClickHouse · 2026-03-25 · Medium · 13 min read · Analytics & OLAP, Data pipelines, SQL, Query engines
  ClickHouse now queries Apache Iceberg and Delta Lake tables in place on S3, GCS and Azure, either directly or through catalogs such as AWS Glue, Unity, Polaris, BigLake, OneLake and Iceberg REST.
- [Exploring massive, real-world data sets: 100+ Years of Weather Records in ClickHouse](https://swe.quest/articles/exploring-massive-real-world-data-sets-100-years-of-weather-records-in-172f4db963c094b1.md): ClickHouse · 2022-09-07 · Medium · 16 min read · Analytics & OLAP, Data pipelines, SQL, Performance engineering
  A billion-row NOAA GHCN climate dataset (1900–2022) is downloaded, filtered on quality flags and pivoted from one measurement per row to one row per station and day using clickhouse-local, then enriched with station coordinates parsed via the Regexp format.
- [IP-based Geolocation in ClickHouse](https://swe.quest/articles/ip-based-geolocation-in-clickhouse-e3f8e96a374b57a6.md): ClickHouse · 2023-05-23 · Medium · 9 min read · Analytics & OLAP, Maps & geospatial, SQL, Networking
  ClickHouse's ip\_trie dictionary layout enables low-latency IP-to-location lookups once IP ranges are expressed as CIDR blocks.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
