mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Review feedback
This commit is contained in:
parent
a3b9041cd3
commit
96317da8d2
@ -82,17 +82,12 @@ private:
|
|||||||
if (error_handling == ErrorHandling::Exception)
|
if (error_handling == ErrorHandling::Exception)
|
||||||
throw;
|
throw;
|
||||||
else if (error_handling == ErrorHandling::Default)
|
else if (error_handling == ErrorHandling::Default)
|
||||||
{
|
|
||||||
if (arguments.size() == 2)
|
|
||||||
{
|
{
|
||||||
auto default_value_column = arguments[1].column;
|
auto default_value_column = arguments[1].column;
|
||||||
|
|
||||||
setting_value = (*default_value_column)[0];
|
setting_value = (*default_value_column)[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
setting_value = Field(Null());
|
|
||||||
}
|
|
||||||
return setting_value;
|
return setting_value;
|
||||||
}
|
}
|
||||||
String name;
|
String name;
|
||||||
|
Loading…
Reference in New Issue
Block a user