v.20.9Experimental Feature

Added db-generator Tool for Random Database Generation

Added db-generator tool for random database generation by given SELECT queries. It may faciliate reproducing issues when there is only incomplete bug report from the user. #14442 (Nikita Mikhaylov) #10973 (ZeDRoman).
Added db-generator tool for generating random databases based on provided SELECT queries.

Why it matters

This feature helps to reproduce issues in ClickHouse by generating randomized data that matches the structure and conditions of given SELECT queries, which is particularly useful when bug reports are incomplete or lack sufficient data for debugging.

How to use it

Use the db-generator tool by providing it with relevant SELECT queries. The tool will generate random data conforming to these queries to create a database that can be used for testing and reproducing issues.