[
https://issues.apache.org/jira/browse/FLINK-5906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15994907#comment-15994907
]
ASF GitHub Bot commented on FLINK-5906:
---------------------------------------
Github user twalthr commented on a diff in the pull request:
https://github.com/apache/flink/pull/3809#discussion_r114539517
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/codegen/calls/ScalarFunctionCallGen.scala
---
@@ -44,10 +44,10 @@ class ScalarFunctionCallGen(
operands: Seq[GeneratedExpression])
: GeneratedExpression = {
// determine function method and result class
- val matchingMethod = getEvalMethod(scalarFunction, signature)
+ val matchingMethod = getUserDefinedMethod(scalarFunction, "eval",
typeInfoToClass(signature))
.getOrElse(throw new CodeGenException("No matching signature
found."))
val matchingSignature = matchingMethod.getParameterTypes
- val resultClass = getResultTypeClass(scalarFunction, matchingSignature)
+ val resultClass = getResultTypeClassOfScalaFunction(scalarFunction,
matchingSignature)
--- End diff --
missing `r`
> Add support to register UDAGG in Table and SQL API
> --------------------------------------------------
>
> Key: FLINK-5906
> URL: https://issues.apache.org/jira/browse/FLINK-5906
> Project: Flink
> Issue Type: Sub-task
> Components: Table API & SQL
> Reporter: Fabian Hueske
> Assignee: Shaoxuan Wang
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)