diff --git a/cpp/src/parquet/bloom_filter_reader_writer_test.cc b/cpp/src/parquet/bloom_filter_reader_writer_test.cc index 90871ceaa9bd9..014484c1d77a8 100644 --- a/cpp/src/parquet/bloom_filter_reader_writer_test.cc +++ b/cpp/src/parquet/bloom_filter_reader_writer_test.cc @@ -94,7 +94,7 @@ TEST(BloomFilterBuilderTest, BasicRoundTrip) { bloom_filter_options.ndv = 100; properties_builder.enable_bloom_filter_options(bloom_filter_options, "c1"); auto writer_properties = properties_builder.build(); - auto builder = BloomFilterBuilder::Make(&schema, writer_properties.get()); + auto builder = internal::BloomFilterBuilder::Make(&schema, writer_properties.get()); auto append_values_to_bloom_filter = [&](const std::vector& insert_hashes) { builder->AppendRowGroup(); @@ -164,7 +164,7 @@ TEST(BloomFilterBuilderTest, InvalidOperations) { properties_builder.enable_bloom_filter_options(bloom_filter_options, "c1"); properties_builder.enable_bloom_filter_options(bloom_filter_options, "c2"); auto properties = properties_builder.build(); - auto builder = BloomFilterBuilder::Make(&schema, properties.get()); + auto builder = internal::BloomFilterBuilder::Make(&schema, properties.get()); // AppendRowGroup() is not called and expect throw. EXPECT_THROW_THAT( [&]() { builder->GetOrCreateBloomFilter(0); }, ParquetException, @@ -208,7 +208,7 @@ TEST(BloomFilterBuilderTest, GetOrCreate) { properties_builder.enable_bloom_filter_options(bloom_filter_options, "c1"); properties_builder.enable_bloom_filter_options(bloom_filter_options, "c2"); auto properties = properties_builder.build(); - auto builder = BloomFilterBuilder::Make(&schema, properties.get()); + auto builder = internal::BloomFilterBuilder::Make(&schema, properties.get()); // AppendRowGroup() is not called and expect throw. ASSERT_THROW(builder->GetOrCreateBloomFilter(0), ParquetException); diff --git a/cpp/src/parquet/column_writer_test.cc b/cpp/src/parquet/column_writer_test.cc index c027b2be23766..a916caa442495 100644 --- a/cpp/src/parquet/column_writer_test.cc +++ b/cpp/src/parquet/column_writer_test.cc @@ -1749,7 +1749,8 @@ TestBloomFilterWriter::BuildWriterWithBloomFilter( ColumnChunkMetaDataBuilder::Make(this->writer_properties_, this->descr_); std::unique_ptr pager = PageWriter::Open( this->sink_, column_properties.compression(), this->metadata_.get()); - builder_ = BloomFilterBuilder::Make(&this->schema_, this->writer_properties_.get()); + builder_ = + internal::BloomFilterBuilder::Make(&this->schema_, this->writer_properties_.get()); // Initial RowGroup builder_->AppendRowGroup(); bloom_filter_ = builder_->GetOrCreateBloomFilter(0);