Add tests

This commit is contained in:
Amos Bird 2023-07-16 23:38:42 +08:00
parent 696818b340
commit 60488e2391
No known key found for this signature in database
GPG Key ID: 80D430DCBECFEDB4
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,9 @@
DROP TABLE IF EXISTS t0;
CREATE TABLE t0 (c0 Int16, projection h (SELECT min(c0), max(c0), count() GROUP BY -c0)) ENGINE = MergeTree ORDER BY ();
INSERT INTO t0(c0) VALUES (1);
SELECT count() FROM t0 GROUP BY gcd(-sign(c0), -c0);
DROP TABLE t0;