[ 
https://issues.apache.org/jira/browse/FLINK-3574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15184870#comment-15184870
 ] 

Timo Walther commented on FLINK-3574:
-------------------------------------

Maybe we need some casting/fallback logic in {{getCallGenerator}} to find a 
suitable function: first check entire signature, then check signature with 
casting. {{addSqlFunctionMethod}} just determine which types the final Java 
method needs. The design of the `ScalarFunctions` class is not completely done 
yet as we also want to integrate custom user-defined functions later.

RexNodeTranslator is the interface between the Table API and the Calcite stack. 
However, we will have a SQL API in the near future that won't go through the 
RexNodeTranslator but directly to the CodeGenerator.

> Implement math functions for Table API
> --------------------------------------
>
>                 Key: FLINK-3574
>                 URL: https://issues.apache.org/jira/browse/FLINK-3574
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API
>            Reporter: Timo Walther
>            Assignee: Dawid Wysakowicz
>
> {code}
> MOD
> EXP
> POWER
> LN
> LOG10
> ABS
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to