mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
fix orc date32 overflow
This commit is contained in:
parent
ef0be4a01c
commit
590029a33b
@ -3,12 +3,12 @@
|
||||
SET session_timezone = 'UTC';
|
||||
SET engine_file_truncate_on_insert = 1;
|
||||
|
||||
insert into function file('03259.orc')
|
||||
insert into function file('03259.orc', 'ORC')
|
||||
select
|
||||
number,
|
||||
if (number % 2 = 0, null, toDate32(number)) as date_field
|
||||
from numbers(10);
|
||||
from numbers(10);
|
||||
|
||||
desc file('03259.orc');
|
||||
desc file('03259.orc', 'ORC');
|
||||
|
||||
select date_field from file('03259.orc') order by number;
|
||||
select date_field from file('03259.orc', 'ORC') order by number;
|
||||
|
Loading…
Reference in New Issue
Block a user