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

Dawid Wysakowicz commented on FLINK-11449:
------------------------------------------

In general I like the proposal from [~twalthr], this indeed would allow us in 
the future to unify handling of built-in functions and UDFs.
I have just two comments:
* do we need the {{ValueLiteralExpression(Object, TypeInformation)}}? I think 
we could express it with {{CallExpression(CAST, 
ValueLiteralExpression(Object))}} which would be inline with SQL.
* don't we need to pass {{UserDefinedAggFunctionDefinition}} and 
{{UserDefinedTableFunctionDefinition}} to pass through the {{TypeInformation}} 
(resultTypeInfo, accTypeInfo) that was derived during function registration?


> Uncouple the Expression class from RexNodes
> -------------------------------------------
>
>                 Key: FLINK-11449
>                 URL: https://issues.apache.org/jira/browse/FLINK-11449
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table API & SQL
>            Reporter: Timo Walther
>            Assignee: sunjincheng
>            Priority: Major
>
> A more detailed description can be found in 
> [FLIP-32|https://cwiki.apache.org/confluence/display/FLINK/FLIP-32%3A+Restructure+flink-table+for+future+contributions].
> Calcite will not be part of any API module anymore. Therefore, RexNode 
> translation must happen in a different layer. This issue will require a new 
> design document.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to