mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
Fix typo
This commit is contained in:
parent
5c5c803fad
commit
ef7970d2c3
@ -522,7 +522,7 @@ static DataTypePtr createJSON(const ASTPtr & arguments)
|
|||||||
if (context->getSettingsRef().use_json_alias_for_old_object_type)
|
if (context->getSettingsRef().use_json_alias_for_old_object_type)
|
||||||
{
|
{
|
||||||
if (arguments && !arguments->children.empty())
|
if (arguments && !arguments->children.empty())
|
||||||
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Experimental Object type doesn't support any arguments. If ypu want to use new JSON type, set setting allow_experimental_json_type = 1");
|
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Experimental Object type doesn't support any arguments. If you want to use new JSON type, set setting allow_experimental_json_type = 1");
|
||||||
|
|
||||||
return std::make_shared<DataTypeObjectDeprecated>("JSON", false);
|
return std::make_shared<DataTypeObjectDeprecated>("JSON", false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user