This commit is contained in:
Igor Nikonov 2024-10-20 18:05:45 +00:00
parent 6539909ac7
commit cc5671d148

View File

@ -4,15 +4,6 @@ CREATE TABLE table_3 (uid UUID, date DateTime('Asia/Kamchatka')) ENGINE = Replic
INSERT INTO table_3 VALUES ('4c36abda-8bd8-11eb-8204-005056aa8bf6', '2021-03-24 01:04:27'), ('4c408902-8bd8-11eb-8204-005056aa8bf6', '2021-03-24 01:04:27'), ('4c5bf20a-8bd8-11eb-8204-005056aa8bf6', '2021-03-24 01:04:27'), ('4c61623a-8bd8-11eb-8204-005056aa8bf6', '2021-03-24 01:04:27'), ('4c6efab2-8bd8-11eb-a952-005056aa8bf6', '2021-03-24 01:04:27');
-- SELECT
-- uid,
-- date,
-- toDate(date) = toDate('2021-03-24') AS res
-- FROM cluster(test_cluster_one_shard_three_replicas_localhost, currentDatabase(), table_3)
-- WHERE res = 1
-- ORDER BY
-- uid ASC,
SELECT
uid,
date,