v.23.1Improvement
Use Insertion Table Structure in generateRandom Function
Use structure from insertion table in generateRandom without arguments. #45239 (Kruglov Pavel).
Why it matters
This feature simplifies data insertion workflows by automatically using the target table's structure for random data generation, eliminating the need to explicitly specify the function's output schema. It enhances usability and reduces errors during testing or data population.How to use it
When inserting data, callgenerateRandom() without any arguments. The function will automatically adopt the structure of the insertion table to generate compatible random data.