AnuragRaut08 commented on code in PR #51093:
URL: https://github.com/apache/arrow/pull/51093#discussion_r3905878294
##########
cpp/src/arrow/compute/kernels/scalar_cast_test.cc:
##########
@@ -3842,6 +3842,49 @@ TEST(Cast, CastMap) {
Cast(src, dst_type));
}
+// GH-51029: An all-valid validity bitmap with an unknown null count must
+// not be treated as containing nulls when validating MapArray keys.
+TEST(Cast, CastMapWithAllValidKeysBitmap) {
Review Comment:
Done. I simplified the regression test by setting the null count to
kUnknownNullCount directly and moved it to array_list_test.cc.
--
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]