Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-19687

Support to get execution plan in `StatementSet`

    XMLWordPrintableJSON

Details

    Description

      Hi, I want to get job's execution plan in Flink SQL 1.11, but i meet exception "No operators defined in streaming topology. Cannot execute." when use `env.getExecutionPlan()`. The same code runs fine in Flink SQL 1.10. I found translation operations only happen when StatementSet.execute() is called in Flink SQL 1.11. So we cannot get job's execution plan before the job submit? Can we support to get execution plan in `StatementSet`?
       

      Attachments

        Activity

          People

            xiaozilong xiaozilong
            xiaozilong xiaozilong
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: