The GenerateRandom table engine produces random data for given table schema. Usage examples:Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
- Use in test to populate reproducible large table.
- Generate random input for fuzzing tests.
Usage in ClickHouse Server
max_array_length and max_string_length parameters specify maximum length of all
array or map columns and strings correspondingly in generated data.
Generate table engine supports only SELECT queries.
It supports all DataTypes that can be stored in a table except AggregateFunction.
Example
1. Set up thegenerate_engine_table table:
Details of Implementation
- Not supported:
ALTERSELECT ... SAMPLEINSERT- Indices
- Replication