You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Hequn Cheng (JIRA)" <ji...@apache.org> on 2018/11/21 02:12:00 UTC
[jira] [Updated] (FLINK-10956) Reuse same rexCall during codegen
[ https://issues.apache.org/jira/browse/FLINK-10956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hequn Cheng updated FLINK-10956:
--------------------------------
Description:
Currently, same rexCalls have not been reused during codegen. I think we can add some reuse logic to achieve a better performance. Take the following query as an example:
{code:java}
t.select(func0('c), func0('c), func0('c))
{code}
func0('c) is called three times for every input row even func0 is deterministic. It would be nice if we can reuse it.
Any suggestions are appreciated.
was:
Currently, same rexCalls have not been reused during codegen. I think we can add some reuse logic to achieve a better performance. Take the following query as an example:
{code:java}
t.select(func0('c), func0('c), func0('c))
{code}
The func0('c) is called three times for every input row. It would be nice if we can reuse it. Any suggestions are appreciated.
> Reuse same rexCall during codegen
> ---------------------------------
>
> Key: FLINK-10956
> URL: https://issues.apache.org/jira/browse/FLINK-10956
> Project: Flink
> Issue Type: Improvement
> Reporter: Hequn Cheng
> Assignee: Hequn Cheng
> Priority: Major
>
> Currently, same rexCalls have not been reused during codegen. I think we can add some reuse logic to achieve a better performance. Take the following query as an example:
> {code:java}
> t.select(func0('c), func0('c), func0('c))
> {code}
> func0('c) is called three times for every input row even func0 is deterministic. It would be nice if we can reuse it.
> Any suggestions are appreciated.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)