You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/05/21 21:22:00 UTC

[jira] [Updated] (FLINK-17445) Allow OperatorTransformation to bootstrapWith a Scala DataSet

     [ https://issues.apache.org/jira/browse/FLINK-17445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated FLINK-17445:
-----------------------------------
    Labels: pull-request-available  (was: )

> Allow OperatorTransformation to bootstrapWith a Scala DataSet
> -------------------------------------------------------------
>
>                 Key: FLINK-17445
>                 URL: https://issues.apache.org/jira/browse/FLINK-17445
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / State Processor
>    Affects Versions: 1.10.0, 1.11.0
>            Reporter: Brandon Bevans
>            Assignee: Brandon Bevans
>            Priority: Major
>              Labels: pull-request-available
>
> 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]:
> {code:java}
> val currencyDataSet = bEnv.fromCollection(CurrencyRate("USD", 1.0), CurrencyRate("EUR", 1.3)) val broadcastTransformation = OperatorTransformation .bootstrapWith(currencyDataSet) .transform(new CurrencyBootstrapFunction){code}
> I would love to take this issue on.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)