[
https://issues.apache.org/jira/browse/FLINK-25364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timo Walther closed FLINK-25364.
--------------------------------
Fix Version/s: 1.15.0
Resolution: Fixed
Fixed in master: 2e355d9c7dcb063f1dad48511e435468320280a0
> Don't generate code in open() methods of Python operators
> ---------------------------------------------------------
>
> Key: FLINK-25364
> URL: https://issues.apache.org/jira/browse/FLINK-25364
> Project: Flink
> Issue Type: Sub-task
> Components: API / Python
> Reporter: Timo Walther
> Assignee: Francesco Guardiani
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.15.0
>
>
> Accessing:
> {code}
> import org.apache.flink.table.planner.codegen.CodeGeneratorContext;
> import org.apache.flink.table.planner.codegen.ProjectionCodeGenerator;
> {code}
> Should not happen in the open() method of an operator. Instead. the code
> generation should happen during planning and only the compilation should
> happen in open().
--
This message was sent by Atlassian Jira
(v8.20.1#820001)