Github user fhueske commented on a diff in the pull request: https://github.com/apache/flink/pull/4355#discussion_r130114248 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/functions/utils/UserDefinedFunctionUtils.scala --- @@ -561,4 +679,28 @@ object UserDefinedFunctionUtils { } } } + + /** + * Get field value from a object. + * + * @param clazz class to be analyzed. + * @param obj Object to get field value. + * @param fieldName Field name. + * @return Field value. + */ + def getFieldValue( --- End diff -- Do we need this method if we can get the type infos from the data views with a `private[flink]` method?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---