mikelui commented on PR #34730: URL: https://github.com/apache/arrow/pull/34730#issuecomment-1513531120
Hmmmm I wonder if it would be more ergonomic to have users supply an optional string, instead of a bool for `maps_as_pydicts`. That way, users can supply: * None: default behavior * "lossy": report warnings when duplicate keys detected * "strict": if duplicate keys are detected, we raise a python error I will experiment with this as a new commit. -- 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]
