js8544 commented on PR #39200: URL: https://github.com/apache/arrow/pull/39200#issuecomment-1852159799
I see. I think there are two things we can do do mitigate this problem: 1. Implicit casts should be disabled for Cast functions. 2. Each ExtensionType can have an `allow_implicit_cast_` member to opt-in/opt-out of this feature. This is kind of like the C++ `explicit` keyword: A type needs to opt-out of implicit casting. -- 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]
