mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-27 10:20:38 +00:00
29 lines
548 B
Plaintext
29 lines
548 B
Plaintext
create table t1 (ts timestamp time index default CURRENT_TIMESTAMP);
|
|
|
|
Affected Rows: 0
|
|
|
|
create table t2 (ts timestamp time index default currEnt_tImEsTamp());
|
|
|
|
Affected Rows: 0
|
|
|
|
create table t3 (ts timestamp time index default now());
|
|
|
|
Affected Rows: 0
|
|
|
|
create table t4 (ts timestamp time index default now);
|
|
|
|
Error: 1001(Unsupported), Unsupported expr in default constraint: Identifier(Ident { value: "now", quote_style: None }) for column: ts
|
|
|
|
drop table t1;
|
|
|
|
Affected Rows: 0
|
|
|
|
drop table t2;
|
|
|
|
Affected Rows: 0
|
|
|
|
drop table t3;
|
|
|
|
Affected Rows: 0
|
|
|