v.22.11New Feature

Add function formatReadableDecimalSize

Add function formatReadableDecimalSize. #42774 (Alejandro).
Added the formatReadableDecimalSize function to format byte sizes using decimal units.

Why it matters

This function provides a human-readable representation of byte sizes using decimal (base 10) units, making it easier for users to interpret and display data sizes clearly and consistently.

How to use it

Use the formatReadableDecimalSize function in your queries by passing a numeric byte value to it. For example: SELECT formatReadableDecimalSize(bytes).