Skip to main content
Generates random data with a given schema. Allows populating test tables with that data. Not all types are supported.

Syntax

Arguments

Returned value

A table object with requested schema.

Usage Example

In combination with generateRandomStructure:
With missing structure argument (in this case the structure is random):
With random seed both for random structure and random data:
generateRandom(generateRandomStructure(), [random seed], max_string_length, max_array_length) with a large enough max_array_length can generate a really huge output due to possible big nesting depth (up to 16) of complex types (Array, Tuple, Map, Nested).
Last modified on July 2, 2026