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

StreamExecutionEnvironment does not clear transformations when executing

    XMLWordPrintableJSON

Details

    Description

      Use the following code in scala shell to reproduce this issue.

      
      val data = senv.fromElements("hello world", "hello flink", "hello hadoop")
      data.flatMap(line => line.split("\\s")).
          map(w => (w, 1)).
          keyBy(0).
          sum(1).
          print
      
      senv.execute()
      
      data.flatMap(line => line.split("\\s")).
          map(w => (w, 1)).
          keyBy(0).
          sum(1).
          print
      
      senv.execute()
      
      

      Attachments

        1. screenshot-1.png
          69 kB
          Jeff Zhang

        Issue Links

          Activity

            People

              danny0405 Danny Chen
              zjffdu Jeff Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m