dianfu commented on a change in pull request #7152: [FLINK-10958] [table] Add 
overload support for user defined function
URL: https://github.com/apache/flink/pull/7152#discussion_r235635548
 
 

 ##########
 File path: 
flink-libraries/flink-table/src/test/scala/org/apache/flink/table/expressions/utils/userDefinedScalarFunctions.scala
 ##########
 @@ -310,6 +310,16 @@ class Func20 extends ScalarFunction {
   }
 }
 
+object Func21 extends ScalarFunction {
+  def eval(p: People): String = {
+    p.name
+  }
+
+  def eval(p: Student): String = {
 
 Review comment:
   The aim of this method is to verify that the method with the most specific 
parameters will be chosen.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to