v.23.5New Feature

Add generateRandomStructure Function for Random Table Generation

Add new function generateRandomStructure that generates random table structure. It can be used in combination with table function generateRandom. #47409 (Kruglov Pavel).
Introduces the new function generateRandomStructure that generates a random table structure, which can be used alongside the generateRandom table function.

Why it matters

This feature addresses the need for automatically creating random table schemas for testing, benchmarking, or experimentation purposes, allowing users to quickly generate diverse and unpredictable table structures without manual schema definition.

How to use it

Use the generateRandomStructure() function to produce a random table schema and combine it with the generateRandom table function to generate data according to that schema, for example in queries or during data generation tasks.