mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Merge pull request #51356 from ClickHouse/add-test-35801
Add a test for #35801
This commit is contained in:
commit
33d7cca9df
@ -0,0 +1,2 @@
|
||||
1 1977-01-01 00:00:00
|
||||
1 1977-01-01 00:00:00
|
@ -0,0 +1,18 @@
|
||||
create temporary table test (
|
||||
data int,
|
||||
default Nullable(DateTime) DEFAULT '1977-01-01 00:00:00'
|
||||
) engine = Memory();
|
||||
|
||||
insert into test (data) select 1;
|
||||
|
||||
select * from test;
|
||||
|
||||
drop temporary table test;
|
||||
|
||||
create temporary table test (
|
||||
data int,
|
||||
default DateTime DEFAULT '1977-01-01 00:00:00'
|
||||
) engine = Memory();
|
||||
insert into test (data) select 1;
|
||||
|
||||
select * from test;
|
Loading…
Reference in New Issue
Block a user