[ https://issues.apache.org/jira/browse/FLINK-7996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16241767#comment-16241767 ]
Fabian Hueske commented on FLINK-7996: -------------------------------------- Yes, {{left.time = right.time + C}} should be supported as well. I'd suggest to go for the easy case {{left.time = right.time}} first and include this in the 1.4 release. The case with a constant offset can be added later. What do you think? Best, Fabian > Add support for (left.time = right.time) predicates to window join. > ------------------------------------------------------------------- > > Key: FLINK-7996 > URL: https://issues.apache.org/jira/browse/FLINK-7996 > Project: Flink > Issue Type: Sub-task > Components: Table API & SQL > Affects Versions: 1.4.0 > Reporter: Fabian Hueske > Assignee: Xingcan Cui > Priority: Critical > Fix For: 1.4.0 > > > A common operation is to join the result of two window aggregations on the > same timestamp. > However, window joins do not support equality predicates on time attributes > such as {{left.time = right.time}} but require two range predicates such as > {{left.time >= right.time AND left.time <= right.time}}. > This can be fixed in the translation code (the operator does not have to be > touched). -- This message was sent by Atlassian JIRA (v6.4.14#64029)