sunjincheng121 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_r235619552
 
 

 ##########
 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:
   I think you should remove this `(p: Student)` method if you want test 
`eval(GraduatedStudent)` by `new mutable.MutableList[Student]`. 

----------------------------------------------------------------
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