singh1203 commented on code in PR #46129: URL: https://github.com/apache/arrow/pull/46129#discussion_r2247176852
########## cpp/src/arrow/array/array_test.cc: ########## @@ -100,6 +100,28 @@ void CheckDictionaryNullCount(const std::shared_ptr<DataType>& dict_type, ASSERT_EQ(arr->data()->MayHaveLogicalNulls(), expected_may_have_logical_nulls); } +TEST_F(TestArray, TestValidateFullNullableList) { + auto f1 = field("f1", int32(), /*nullable=*/false); + auto type = list(f1); + auto array = ArrayFromJSON(type, "[[0, 1], null, [2, 5]]"); + auto array_nested_null = ArrayFromJSON(type, "[[0, 1], [3, 4], [2, null]]"); + + ASSERT_RAISES(Invalid, array->ValidateFull()); + ASSERT_RAISES(Invalid, array_nested_null->ValidateFull()); Review Comment: @pitrou @lidavidm This unit test is failing, maybe due to the way the array is formed from `ArrayFromJSON()`. Any guidance will help me a lot. Thank you -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org