Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/parquet/arrow/arrow-reader-writer-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -779,10 +779,10 @@ TEST_F(TestUInt32ParquetIO, Parquet_1_0_Compability) {
}
}

const int32_t kOffset = 0;
ASSERT_OK(MakePrimitiveArray(std::make_shared<::arrow::Int64Type>(), values->length(),
int64_data, values->null_bitmap(), values->null_count(),
kOffset, &expected_values));
std::vector<std::shared_ptr<Buffer>> buffers{values->null_bitmap(), int64_data};
auto arr_data = std::make_shared<::arrow::ArrayData>(::arrow::int64(), values->length(),
buffers, values->null_count());
ASSERT_OK(MakeArray(arr_data, &expected_values));
this->ReadAndCheckSingleColumnTable(expected_values);
}

Expand Down
10 changes: 4 additions & 6 deletions src/parquet/statistics-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,9 @@ bool* TestRowGroupStatistics<BooleanType>::GetValuesPointer(std::vector<bool>& v
}

template <typename TestType>
typename std::vector<typename TestType::c_type> TestRowGroupStatistics<
TestType>::GetDeepCopy(const std::vector<typename TestType::c_type>& values) {
typename std::vector<typename TestType::c_type>
TestRowGroupStatistics<TestType>::GetDeepCopy(
const std::vector<typename TestType::c_type>& values) {
return values;
}

Expand Down Expand Up @@ -478,7 +479,7 @@ class TestStatistics : public ::testing::Test {
};

using CompareTestTypes = ::testing::Types<Int32Type, Int64Type, Int96Type, FloatType,
DoubleType, ByteArrayType, FLBAType>;
DoubleType, ByteArrayType, FLBAType>;

// TYPE::INT32
template <>
Expand Down Expand Up @@ -680,8 +681,5 @@ TEST_F(TestStatisticsFLBA, UnknownSortOrder) {
ASSERT_FALSE(cc_metadata->is_stats_set());
}




} // namespace test
} // namespace parquet