Github user sunjincheng121 commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2653#discussion_r86542265
  
    --- Diff: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/functions/utils/UserDefinedFunctionUtils.scala
 ---
    @@ -135,6 +138,32 @@ object UserDefinedFunctionUtils {
       }
     
       /**
    +    * Returns eval method matching the given signature of 
[[TypeInformation]].
    +    */
    +  def getEvalMethod(
    +    function: EvaluableFunction,
    +    signature: Seq[TypeInformation[_]])
    +  : Option[Method] = {
    +    // We compare the raw Java classes not the TypeInformation.
    +    // TypeInformation does not matter during runtime (e.g. within a 
MapFunction).
    +    val actualSignature = typeInfoToClass(signature)
    +
    +    function
    +      .getEvalMethods
    --- End diff --
    
    get evelMethods by 
UserDefinedFunctionUtils.checkAndExtractEvalMethods(clazz) 


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to