[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (FLINK-10956) Reuse same rexCall during codegen

Hequn Cheng created FLINK-10956:

             Summary: 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

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:
t.select(func0('c), func0('c), func0('c))
The func0('c) is called three times for every input row. It would be nice if we can reuse it. Any suggestions are appreciated.

This message was sent by Atlassian JIRA