[
https://issues.apache.org/jira/browse/FLINK-1422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296986#comment-14296986
]
Alexander Alexandrov commented on FLINK-1422:
---------------------------------------------
+1 from me as well.
I recently find out that one can also use constructor arguments to pass UDF
parameters from the driver if the UDF is defined as a static final class
(i.e. the UDF instance can be serialized).
I think that this should be covered here as well for the sake of
completeness.
> Missing usage example for "withParameters"
> ------------------------------------------
>
> Key: FLINK-1422
> URL: https://issues.apache.org/jira/browse/FLINK-1422
> Project: Flink
> Issue Type: Improvement
> Components: Documentation
> Affects Versions: 0.8
> Reporter: Alexander Alexandrov
> Assignee: Chesnay Schepler
> Priority: Trivial
> Fix For: 0.8.1
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> I am struggling to find a usage example of the "withParameters" method in the
> documentation. At the moment I only see this note:
> {quote}
> Note: As the content of broadcast variables is kept in-memory on each node,
> it should not become too large. For simpler things like scalar values you can
> simply make parameters part of the closure of a function, or use the
> withParameters(...) method to pass in a configuration.
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)