[ https://issues.apache.org/jira/browse/FLINK-3736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yijie Shen updated FLINK-3736: ------------------------------ Description: Since we have a one-to-one mapping from Flink {{Expression}} to Calcite {{RexNode}}, and we will implement more and more expressions to make flink-table a full-fledged module, I think it's worthwhile to let each Expression take care of its own behaviour on conversion to RexNode. (was: Since we have a one-to-one mapping from Flink Expression to Calcite RexNode, and we will implement more and more expressions to make flink-table a full-fledged module, I think it's worthwhile to let each Expression take care of its own behaviour on conversion to RexNode.) > Move toRexNode and toAggCall logic into Expressions > --------------------------------------------------- > > Key: FLINK-3736 > URL: https://issues.apache.org/jira/browse/FLINK-3736 > Project: Flink > Issue Type: Improvement > Components: Table API > Reporter: Yijie Shen > Priority: Minor > > Since we have a one-to-one mapping from Flink {{Expression}} to Calcite > {{RexNode}}, and we will implement more and more expressions to make > flink-table a full-fledged module, I think it's worthwhile to let each > Expression take care of its own behaviour on conversion to RexNode. -- This message was sent by Atlassian JIRA (v6.3.4#6332)