mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Fix test
This commit is contained in:
parent
fcd45d47e4
commit
28bf977960
@ -172,7 +172,11 @@ static inline std::optional<size_t> extractMaxSplits(
|
||||
return std::nullopt;
|
||||
|
||||
if (const ColumnConst * column = checkAndGetColumn<ColumnConst>(arguments[max_substrings_argument_position].column.get()))
|
||||
return column->getUInt(0);
|
||||
{
|
||||
size_t res = column->getUInt(0);
|
||||
if (res)
|
||||
return res;
|
||||
}
|
||||
|
||||
return std::nullopt;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user