Files
greptimedb/tests/cases/standalone/common/create/current_timestamp.result
2023-11-03 08:32:02 +00:00

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