okumin commented on PR #4896: URL: https://github.com/apache/hive/pull/4896#issuecomment-1840021935
@ayushtkn I changed the scope, checked all UDFs, and added validations to where we incorrectly cast ObjectInspectors. I checked them by my eyes and it is possible that I missed some other mistakes. For your information, most UDFs don't raise ClassCastException. For example, [GenericUDFElt has a validation before it uses ObjectInspector](https://github.com/apache/hive/blob/276b37830f18cd34d89db27bc549594aecad3d56/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFElt.java#L55-L61). -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
