pitrou commented on a change in pull request #11694:
URL: https://github.com/apache/arrow/pull/11694#discussion_r756990379
##########
File path: cpp/src/arrow/array/array_test.cc
##########
@@ -3348,4 +3358,70 @@ TEST(TestSwapEndianArrayData, InvalidLength) {
}
}
+template <typename T>
+class TestPrimitiveArray : public ::testing::Test {
+ public:
+ void SetUp() { pool_ = default_memory_pool(); }
+
+ protected:
+ MemoryPool* pool_;
+};
+
+typedef ::testing::Types<PBoolean, PUInt8, PUInt16, PUInt32, PUInt64, PInt8,
PInt16,
+ PInt32, PInt64, PFloat, PDouble>
+ NumericPrimitives;
Review comment:
Is it possible to also make it work for `MonthIntervalType` /
`MonthIntervalArray`? See `arrow/type_fwd.h` for their definitions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]