Fix reading from partial granule for low cardinality type. #2896

This commit is contained in:
Nikolai Kochetov 2018-08-22 15:47:06 +03:00
parent 19ec609d36
commit b165a53e30

View File

@ -669,6 +669,9 @@ void DataTypeWithDictionary::deserializeBinaryBulkWithMultipleStreams(
} }
}; };
if (!settings.continuous_reading)
state_with_dictionary->num_pending_rows = 0;
bool first_dictionary = true; bool first_dictionary = true;
while (limit) while (limit)
{ {