Skip to content

Commit 5ee71bd

Browse files
committed
Work around the clang bug
1 parent dfdf5de commit 5ee71bd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Processors/Formats/Impl/Parquet/Write.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,10 @@ void writeColumnImpl(
651651
const typename ParquetDType::c_type * converted = converter.getBatch(next_data_offset, data_count);
652652

653653
if (options.write_page_statistics || options.write_column_chunk_statistics)
654+
/// Workaround for clang bug: https://github.com/llvm/llvm-project/issues/63630
655+
#ifdef MEMORY_SANITIZER
656+
#pragma clang loop vectorize(disable)
657+
#endif
654658
for (size_t i = 0; i < data_count; ++i)
655659
page_statistics.add(converted[i]);
656660

0 commit comments

Comments
 (0)