v.1.1.54310New Feature

Added getSizeOfEnumType Function

Added the getSizeOfEnumType function.
Added the getSizeOfEnumType function to retrieve the memory size of Enum data types in ClickHouse.

Why it matters

This feature was created to provide users with the ability to determine the exact memory footprint of Enum types. This helps in performance optimization and resource management by allowing more precise estimation of data size and memory usage in queries and storage.

How to use it

Use the getSizeOfEnumType function by passing an Enum column or Enum type as its argument. The function returns the size in bytes representing the storage size of the Enum type. For example:

SELECT getSizeOfEnumType(your_enum_column) FROM your_table;

This helps understand the memory used by the Enum data and supports comparison or optimization tasks.