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

Method WritePageWithoutStats

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

Source from the content-addressed store, hash-verified

416
417template <>
418void PageFilterTest<format::DataPageHeader>::WritePageWithoutStats() {
419 int32_t num_rows = 100;
420 total_rows_ += num_rows;
421 int data_size = 1024;
422 this->data_page_header_.__set_num_values(num_rows);
423 ASSERT_NO_FATAL_FAILURE(
424 this->WriteDataPageHeader(/*max_serialized_len=*/1024, data_size, data_size));
425 data_page_headers_.push_back(this->data_page_header_);
426 std::vector<uint8_t> faux_data(data_size);
427 ASSERT_OK(this->out_stream_->Write(faux_data.data(), data_size));
428 this->EndStream();
429}
430
431template <>
432void 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