v.20.5Improvement
Added hostname Alias to hostName Function
Addedhostnameas an alias to functionhostName. This feature was suggested by Victor Tarnavskiy from Yandex.Metrica. #11821 (alexey-milovidov).
Why it matters
This feature provides a more intuitive and convenient function name,hostname, for retrieving the host's name, improving usability and aligning with common naming conventions.How to use it
Use the functionhostname() anywhere in your SQL queries as a direct replacement or alternative to hostName(). For example:SELECT hostname()
FROM system.one