| 333 | } |
| 334 | |
| 335 | void ReadAndCompare(Compression::type compression, int64_t num_rows, |
| 336 | bool page_checksum_verify) { |
| 337 | this->SetupValuesOut(num_rows); |
| 338 | this->ReadColumnFully(compression, page_checksum_verify); |
| 339 | auto comparator = MakeComparator<TestType>(this->descr_); |
| 340 | for (size_t i = 0; i < this->values_.size(); i++) { |
| 341 | if (comparator->Compare(this->values_[i], this->values_out_[i]) || |
| 342 | comparator->Compare(this->values_out_[i], this->values_[i])) { |
| 343 | ARROW_SCOPED_TRACE("i = ", i); |
| 344 | } |
| 345 | ASSERT_FALSE(comparator->Compare(this->values_[i], this->values_out_[i])); |
| 346 | ASSERT_FALSE(comparator->Compare(this->values_out_[i], this->values_[i])); |
| 347 | } |
| 348 | ASSERT_EQ(this->values_, this->values_out_); |
| 349 | } |
| 350 | |
| 351 | int64_t metadata_num_values() { |
| 352 | // Metadata accessor must be created lazily. |
nothing calls this directly
no test coverage detected