Skip to content

Reading and writing Vortex files with ClickHouse (26.11)

YouTube Video: BsmTK-pa5ks

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

YouTube Video: e-NnqMTY_3A

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.

Follow us

XBlueskySlackGithubTelegramMeetupRSS