Skip to content

Commit

Permalink
ProtocolError instead of Error
Browse files Browse the repository at this point in the history
  • Loading branch information
Enmk authored Apr 13, 2022
1 parent 60438e4 commit 293981d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clickhouse/columns/lowcardinality.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ auto Load(ColumnRef new_dictionary_column, InputStream& input, size_t rows) {
throw ProtocolError("Failed to read number of rows in dictionary column.");

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

uint64_t number_of_rows;
if (!WireFormat::ReadFixed(input, &number_of_rows))
Expand Down

0 comments on commit 293981d

Please sign in to comment.