[ https://issues.apache.org/jira/browse/FLINK-6846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16521197#comment-16521197 ]
ASF GitHub Bot commented on FLINK-6846: --------------------------------------- Github user hequn8128 commented on a diff in the pull request: https://github.com/apache/flink/pull/6188#discussion_r197614206 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/expressions/time.scala --- @@ -328,6 +330,42 @@ case class TemporalOverlaps( } } + /** + * Standard conversion of the TIMESTAMPADD operator. + * Source: [[org.apache.calcite.sql2rel.StandardConvertletTable#TimestampAddConvertlet]] + */ +case class TimestampAdd( + unit: Expression, + count: Expression, + timestamp: Expression) + extends Expression { + + override private[flink] def children = unit :: count :: timestamp :: Nil + + override private[flink] def toRexNode(implicit relBuilder: RelBuilder) = { --- End diff -- toRexNode(implicit relBuilder: RelBuilder) => toRexNode(implicit relBuilder: RelBuilder): RexNode > Add TIMESTAMPADD supported in TableAPI > -------------------------------------- > > Key: FLINK-6846 > URL: https://issues.apache.org/jira/browse/FLINK-6846 > Project: Flink > Issue Type: Sub-task > Components: Table API & SQL > Affects Versions: 1.4.0 > Reporter: sunjincheng > Assignee: sunjincheng > Priority: Major > Labels: pull-request-available, starter > > See FLINK-6811 for detail. -- This message was sent by Atlassian JIRA (v7.6.3#76005)