mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 18:20:50 +00:00
Update src/DataTypes/Serializations/SerializationBool.cpp
Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
This commit is contained in:
parent
ec7e99ef82
commit
3dd3e42c9e
@ -77,7 +77,7 @@ void SerializationBool::serializeTextEscaped(const IColumn & column, size_t row_
|
||||
|
||||
void SerializationBool::deserializeTextEscaped(IColumn & column, ReadBuffer & istr, const FormatSettings & settings) const
|
||||
{
|
||||
ColumnUInt8 *col = typeid_cast<ColumnUInt8 *>(&column);
|
||||
ColumnUInt8 * col = typeid_cast<ColumnUInt8 *>(&column);
|
||||
if (!col)
|
||||
{
|
||||
throw Exception("Bool type can only deserialize columns of type UInt8." + column.getName(), ErrorCodes::ILLEGAL_COLUMN);
|
||||
|
Loading…
Reference in New Issue
Block a user