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

Allow OperatorTransformation to bootstrapWith a Scala DataSet

    XMLWordPrintableJSON

Details

    Description

      Currently there is no way to use OperatorTransformation.bootstrapWith using a Scala DataSet. The functionality does seem to be there since a Scala DataSet appears to just be a wrapped Java DataSet. This functionality could be achieved with minimal invasiveness by passing through the underlying Java DataSet to the call.

       

      Also, the docs suggest that this function should work:

      From https://ci.apache.org/projects/flink/flink-docs-stable/dev/libs/state_processor_api.html:

      val currencyDataSet = bEnv.fromCollection(CurrencyRate("USD", 1.0), CurrencyRate("EUR", 1.3)) val broadcastTransformation = OperatorTransformation .bootstrapWith(currencyDataSet) .transform(new CurrencyBootstrapFunction)

      I would love to take this issue on.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bbcowboy Brandon Bevans
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: