Reading and writing Vortex files with ClickHouse (26.11)

Previous videoInspect incoming data with INSERT … RETURNING in ClickHouseNext videoLIMIT with boundary conditions in ClickHouse 26.9
Query and export Vortex files with ClickHouse 26.11, using a FineWeb dataset containing just over a million web pages.
ClickHouse 26.11 adds support for reading and writing Vortex files. In this demo, we query a FineWeb shard containing just over a million web pages directly with SQL, find the most common websites, and export the English Wikipedia pages to a new Vortex file.
We inspect the schema, count pages and tokens, filter the data, and use INTO OUTFILE to save the results. ClickHouse can infer the output format from the .vortex extension, so FORMAT Vortex is optional. Finally, we query the exported file and check that its page and token counts match.
Chapters
- 00:00 What is Vortex?
- 00:15 The FineWeb dataset
- 00:30 Inspecting and querying a Vortex file
- 01:00 Finding the most common websites
- 01:16 Filtering English Wikipedia pages
- 01:35 Exporting to a Vortex file
- 01:59 Reading and checking the exported file
Resources
Related videos
View all Videos
How to
Inspect incoming data with INSERT … RETURNING in ClickHouse
Use INSERT … RETURNING in ClickHouse 26.11 to inspect generated values, sample incoming rows, find invalid ratings, and summarise an ingestion batch.
