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

Python ProcessFunction with OutputTag cannot be reused

    XMLWordPrintableJSON

Details

    Description

      output_tag = OutputTag("side", Types.STRING())
      
      def udf(i):
          yield output_tag, i
      
      ds1.map(udf).get_side_output(output_tag)
      ds2.map(udf)

      raises TypeError: cannot pickle '_thread.RLock' object

      Attachments

        Issue Links

          Activity

            People

              Juntao Hu Juntao Hu
              Juntao Hu Juntao Hu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: