Skip to main content

Description

This table contains a single UInt64 column named prime that contains prime numbers in ascending order, starting from 2. You can use this table for tests, or if you need to do a brute force search over prime numbers. Reads from this table are not parallelized. This is similar to the primes table function. You can also limit the output by predicates.

Columns

Example

The first 10 primes.
The first prime greater than 1e15.
Last modified on July 2, 2026