mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
Revert "Update src/Storages/StorageS3.cpp
This reverts commit bbbfe1891bfdc868878cfc8d52c254babd4ca181.
This commit is contained in:
parent
067cc763cc
commit
0b75c66378
@ -486,8 +486,9 @@ private:
|
||||
/// Need to convert to UInt32 because UInt8 can't be passed to format due to "mixing character types is disallowed".
|
||||
UInt32 invalid_char_byte = static_cast<UInt32>(static_cast<UInt8>(*i));
|
||||
throw DB::Exception(ErrorCodes::CANNOT_PARSE_TEXT,
|
||||
"Illegal character '\\x{0:02x}' in partition key",
|
||||
invalid_char_byte);
|
||||
"Illegal character '\\x{0:02x}' in partition key starting with '{}'.",
|
||||
invalid_char_byte,
|
||||
StringRef(str.data, i - str.data));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user