You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Timo Walther (Jira)" <ji...@apache.org> on 2021/12/17 13:03:00 UTC

[jira] [Created] (FLINK-25364) Don't generate code in open() methods of Python operators

Timo Walther created FLINK-25364:
------------------------------------

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


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)