Skip to content

Commit 293981d

Browse files
authored
ProtocolError instead of Error
1 parent 60438e4 commit 293981d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clickhouse/columns/lowcardinality.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ auto Load(ColumnRef new_dictionary_column, InputStream& input, size_t rows) {
225225
throw ProtocolError("Failed to read number of rows in dictionary column.");
226226

227227
if (!new_dictionary_column->Load(&input, number_of_keys))
228-
throw Error("Failed to read values of dictionary column.");
228+
throw ProtocolError("Failed to read values of dictionary column.");
229229

230230
uint64_t number_of_rows;
231231
if (!WireFormat::ReadFixed(input, &number_of_rows))

0 commit comments

Comments
 (0)