You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (JIRA)" <ji...@apache.org> on 2018/11/01 14:00:00 UTC

[jira] [Commented] (FLINK-10211) Time indicators are not correctly materialized for LogicalJoin

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

Timo Walther commented on FLINK-10211:
--------------------------------------

[~pnowojski] I updated the description. I will play around with this issue but if it requires mature refactorings I would postpone this for 1.8.

> Time indicators are not correctly materialized for LogicalJoin
> --------------------------------------------------------------
>
>                 Key: FLINK-10211
>                 URL: https://issues.apache.org/jira/browse/FLINK-10211
>             Project: Flink
>          Issue Type: Bug
>          Components: Table API &amp; SQL
>    Affects Versions: 1.6.0
>            Reporter: Piotr Nowojski
>            Assignee: Timo Walther
>            Priority: Major
>
> Currently {{org.apache.flink.table.calcite.RelTimeIndicatorConverter#visit(LogicalJoin)}} correctly handles only windowed joins. Output of non windowed joins shouldn't contain any time indicators.
> Update:
> The root cause of this issue is the early phase in which {{RelTimeIndicatorConverter}} is called. Due to lack of information (since the join condition might not have been pushed into the join node), we can not differentiate between a window and non-window join. Thus, we cannot perform the time indicator materialization more fine grained. A solution would be to perform the materialization later after the logical optimization and before the physical translation, this would also make sense from a semantic perspective because time indicators are more a physical characteristic.



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