MCPcopy Create free account
hub / github.com/apache/arrow / WritePageWithoutStats

Method WritePageWithoutStats

cpp/src/parquet/file_deserialize_test.cc:429–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427
428template <>
429void PageFilterTest<format::DataPageHeader>::WritePageWithoutStats() {
430 int32_t num_rows = 100;
431 total_rows_ += num_rows;
432 int data_size = 1024;
433 this->data_page_header_.__set_num_values(num_rows);
434 ASSERT_NO_FATAL_FAILURE(
435 this->WriteDataPageHeader(/*max_serialized_len=*/1024, data_size, data_size));
436 data_page_headers_.push_back(this->data_page_header_);
437 std::vector<uint8_t> faux_data(data_size);
438 ASSERT_OK(this->out_stream_->Write(faux_data.data(), data_size));
439 this->EndStream();
440}
441
442template <>
443void PageFilterTest<format::DataPageHeaderV2>::WritePageWithoutStats() {

Callers 1

TYPED_TESTFunction · 0.80

Calls 8

__set_num_valuesMethod · 0.80
WriteDataPageHeaderMethod · 0.80
push_backMethod · 0.80
EndStreamMethod · 0.80
__set_num_rowsMethod · 0.80
WriteDataPageHeaderV2Method · 0.80
WriteMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected