v.23.5New Feature
Add generateRandomStructure Function for Random Table Generation
Add new functiongenerateRandomStructurethat generates random table structure. It can be used in combination with table functiongenerateRandom. #47409 (Kruglov Pavel).
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 thegenerateRandomStructure() 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.