Files
greptimedb/tests/cases/distributed/alter/drop_col_not_null_next.sql
JeremyHi 2ef0d06cdb feat: status_code in response header (#1982)
* feat: status_code in response header

* chore: parese grpc response

* fix: sqlness failed

* chore: fix sqlness
2023-07-19 11:27:49 +00:00

16 lines
283 B
SQL

CREATE TABLE test(i BIGINT TIME INDEX, j INTEGER, k INTEGER NOT NULL);
INSERT INTO test VALUES (1, 1, 11), (2, 2, 12);
SELECT * FROM test;
ALTER TABLE test DROP COLUMN j;
INSERT INTO test VALUES (3, NULL);
INSERT INTO test VALUES (3, 13);
SELECT * FROM test;
DROP TABLE test;