Readability

This commit is contained in:
Alexey Milovidov 2022-05-26 22:21:49 +02:00
parent 3074be8d17
commit 359e36f421

View File

@ -20,8 +20,8 @@ The following versions of ClickHouse server are currently being supported with s
clickhouse-local --query " clickhouse-local --query "
SELECT SELECT
concat(CAST(y, 'String'), '.', if(y < ((toYear(today()) - 2000) - 1), '*', CAST(m, 'String'))) AS Version, y::String || '.' || (y < toYear(today()) - 2000 - 1 ? '*' : m::String) AS Version
if((n <= 3) OR (is_lts AND (lts_n <= 2)), '✔️', 'x') AS Supported (n <= 3 OR (is_lts AND lts_n <= 2)) ? '✔️' : 'x' AS Supported
FROM FROM
( (
SELECT SELECT
@ -34,8 +34,8 @@ FROM
( (
WITH WITH
extractGroups(version, 'v(\\d+).(\\d+)') AS v, extractGroups(version, 'v(\\d+).(\\d+)') AS v,
CAST(v[1], 'UInt8') AS y, v[1]::UInt8 AS y,
CAST(v[2], 'UInt8') AS m v[2]::UInt8 AS m
SELECT SELECT
y, y,
m m