jorisvandenbossche commented on issue #41283: URL: https://github.com/apache/arrow/issues/41283#issuecomment-2063433276
In the conversion code, we use a list / struct builder, and then we actually already have some validation of the resulting data before constructing a MapArray from the built data: https://github.com/apache/arrow/blob/144c5ef0cd782946994866054ac7e117b5e255a7/python/pyarrow/src/arrow/python/python_to_arrow.cc#L842-L848 So it checks that the keys don't have nulls, but it should also check that the list's value builder (the struct builder) doesn't have nulls -- 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]
