edponce commented on a change in pull request #12036:
URL: https://github.com/apache/arrow/pull/12036#discussion_r776339063



##########
File path: cpp/src/arrow/chunked_array_test.cc
##########
@@ -204,9 +210,9 @@ TEST_F(TestChunkedArray, Validate) {
   Construct();
   ASSERT_OK(one_->ValidateFull());
 
+  // Invalid if different chunk types
   arrays_one_.push_back(gen.String(50, 0, 10, 0.1));
-  Construct();
-  ASSERT_RAISES(Invalid, one_->ValidateFull());

Review comment:
       Yes, and it will pass, but this test is incorrect because it constructs 
a ChunkedArray with chunks of different types (Int32 and String).




-- 
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]


Reply via email to