Merge pull request #58318 from ClickHouse/fix-fuzzer-sparse

Fixed logical error in CheckSortedTransform
This commit is contained in:
robot-ch-test-poll4 2023-12-28 23:57:01 +01:00 committed by GitHub
commit ef5837a008
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,6 +52,11 @@ void CheckSortedTransform::transform(Chunk & chunk)
}
};
/// ColumnVector tries to cast the rhs column to the same type (ColumnVector) in compareAt method.
/// And it doesn't care about the possible incompatibilities in data types
/// (for example in case when the right column is ColumnSparse)
convertToFullIfSparse(chunk);
const auto & chunk_columns = chunk.getColumns();
++rows_read;