v.21.11New Features

Add getOSKernelVersion function to return OS kernel version

Add a function getOSKernelVersion - it returns a string with OS kernel version. #29755 (Memo).
Introduces the getOSKernelVersion function that returns the operating system kernel version as a string.

Why it matters

The function provides users with an easy way to retrieve the OS kernel version directly from ClickHouse queries. This can be useful for debugging, environment auditing, or adapting query behavior based on the kernel version.

How to use it

Call the function in a query as SELECT getOSKernelVersion() to get the kernel version string.