mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-18 14:00:39 +00:00
* fix: use mark-deletion for system catalog Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix the default value Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * clean tables Signed-off-by: Ruihang Xia <waynestxia@gmail.com> --------- Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
43 lines
747 B
Plaintext
43 lines
747 B
Plaintext
create table t1 (a timestamp time index);
|
|
|
|
Affected Rows: 0
|
|
|
|
create table t2 (b timestamp time index);
|
|
|
|
Affected Rows: 0
|
|
|
|
drop table t1;
|
|
|
|
Affected Rows: 1
|
|
|
|
drop table t2;
|
|
|
|
Affected Rows: 1
|
|
|
|
-- SQLNESS ARG restart=true
|
|
show tables;
|
|
|
|
+---------+
|
|
| Tables |
|
|
+---------+
|
|
| numbers |
|
|
| scripts |
|
|
+---------+
|
|
|
|
create table t3 (c timestamp time index);
|
|
|
|
Affected Rows: 0
|
|
|
|
desc table t3;
|
|
|
|
+-------+----------------------+------+---------+---------------+
|
|
| Field | Type | Null | Default | Semantic Type |
|
|
+-------+----------------------+------+---------+---------------+
|
|
| c | TimestampMillisecond | NO | | TIME INDEX |
|
|
+-------+----------------------+------+---------+---------------+
|
|
|
|
drop table t3;
|
|
|
|
Affected Rows: 1
|
|
|