Skip to content

Commit

Permalink
Update FunctionsConversion.h
Browse files Browse the repository at this point in the history
  • Loading branch information
zvonand committed Oct 26, 2023
1 parent 35baf77 commit 2da12ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Functions/FunctionsConversion.h
Expand Up @@ -454,7 +454,7 @@ struct ToDateTimeImpl
{
if constexpr (date_time_overflow_behavior == FormatSettings::DateTimeOverflowBehavior::Saturate)
return dt64 < 0 ? 0 : std::numeric_limits<UInt32>::max();
else [[unlikely]]
else
throw Exception(ErrorCodes::VALUE_IS_OUT_OF_RANGE_OF_DATA_TYPE, "Value {} is out of bounds of type DateTime", dt64);
}
else
Expand Down

0 comments on commit 2da12ec

Please sign in to comment.