mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
fix fuzzer
This commit is contained in:
parent
b4c5537183
commit
35f19522e7
@ -1579,7 +1579,7 @@ struct ConvertImpl
|
||||
IntervalKind to = typeid_cast<const DataTypeInterval *>(result_type.get())->getKind();
|
||||
IntervalKind from = typeid_cast<const DataTypeInterval *>(arguments[0].type.get())->getKind();
|
||||
|
||||
if (from == to)
|
||||
if (from == to || arguments[0].column->empty())
|
||||
return arguments[0].column;
|
||||
|
||||
const auto &map = getGranularityMap();
|
||||
|
Loading…
Reference in New Issue
Block a user