mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-13 08:43:00 +00:00
* test: Sqlness tests for distribute mode * ci * fix: resolve PR comments * fix: resolve PR comments
16 lines
360 B
SQL
16 lines
360 B
SQL
CREATE TABLE bigints(b BIGINT TIME INDEX);
|
|
|
|
INSERT INTO bigints values (4611686018427387904), (4611686018427388904), (1);
|
|
|
|
SELECT SUM(b) FROM bigints;
|
|
|
|
CREATE TABLE doubles(n DOUBLE, ts BIGINT TIME INDEX);
|
|
|
|
INSERT INTO doubles (n, ts) VALUES (9007199254740992, 1), (1, 2), (1, 3), (0, 4);
|
|
|
|
SELECT sum(n) from doubles;
|
|
|
|
DROP TABLE bigints;
|
|
|
|
DROP TABLE doubles;
|