| 26 | namespace arrow { |
| 27 | |
| 28 | TEST(TestArrayStatistics, RowCountExact) { |
| 29 | ArrayStatistics statistics; |
| 30 | ASSERT_FALSE(statistics.row_count.has_value()); |
| 31 | statistics.row_count = 45; |
| 32 | ASSERT_TRUE(statistics.row_count.has_value()); |
| 33 | ASSERT_EQ(45, std::get<int64_t>(statistics.row_count.value())); |
| 34 | } |
| 35 | |
| 36 | TEST(TestArrayStatistics, RowCountApproximate) { |
| 37 | ArrayStatistics statistics; |