v.23.2Improvement

Add Map, IPv4, and IPv6 support in generateRandom for testing

Add support for Map, IPv4 and IPv6 types in generateRandom. Mostly useful for testing. #45785 (Raúl Marín).
Added support for Map, IPv4, and IPv6 data types in the generateRandom function to enable generating random values of these types.

Why it matters

This feature addresses the need for generating random test data for complex and specific data types such as Map and IP address formats (IPv4 and IPv6). It improves testing capabilities by allowing users to easily produce random sample data for these types without manual data preparation.

How to use it

Use the generateRandom function in your queries or tests specifying columns with Map, IPv4, or IPv6 types. The function will automatically generate random values for those types for testing purposes.