mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Readability
This commit is contained in:
parent
3074be8d17
commit
359e36f421
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user