mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-05 21:02:58 +00:00
* feat: only allow timestamp data type as time index * test: update sqltest cases, todo: need some fixes * fix: sqlness tests * fix: forgot adding back cte test * chore: style
12 lines
200 B
SQL
12 lines
200 B
SQL
CREATE TABLE test(i INTEGER, j TIMESTAMP TIME INDEX);
|
|
|
|
INSERT INTO test VALUES (1, 1), (2, 2);
|
|
|
|
ALTER TABLE test DROP COLUMN i;
|
|
|
|
SELECT * FROM test;
|
|
|
|
ALTER TABLE test DROP COLUMN j;
|
|
|
|
DROP TABLE test;
|