westonpace commented on PR #14735: URL: https://github.com/apache/arrow/pull/14735#issuecomment-1327801218
Also, to be clear, the change here was not actually a code change. We always had `has_enum_()`. However, in older versions of protoc it is only valid to call `has_xyz()` if `xyz` is a message. If `xyz` is an enum or other simple type (in this case a string) then you have to instead check against the default value for that type (because protobuf, in these cases, does not distinguish between the two) -- 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]
