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

Calls to getSideOutput() result in warnings regarding unchecked assignments

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      Consider the following code:

      operator = ...
      operator.getSideOutput(tag<X>).map(MapFunction<X,X>...)
      

      When writing this you will get an unchecked assignment warning. You also can't let the IDE auto-generate the signature of the MapFunction, it will be typed to objects.

      It is also odd that the following actually compiles, but that may be a java issue:

      operator.<String>getSideOutput(new OutputTag<Integer>(){})
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            chesnay Chesnay Schepler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: