Default chaining & uid

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Default chaining & uid

Emily McMahon
Does setting uid affect the default chaining (ie if I have two maps in a row and set uid on both)?

This makes me think there's no effect

All operators that are part of a chain should be assigned an ID as described in the <a href="http://doc.flink-china.org/1.2.0/ops/upgrading.html#Matching Operator State" style="box-sizing:border-box;color:rgb(51,122,183);text-decoration-line:none;font-family:&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif;font-size:14px">Matching Operator State section above.


Thanks,
Emily 
Reply | Threaded
Open this post in threaded view
|

Re: Default chaining & uid

Chesnay Schepler
Hello,

That depends a bit on the used version.

For 1.3 and above it does not affect chaining; the maps will be chained and setting the UIDs will work as if the maps weren't chained.

For 1.2, setting the UID on a chained operator is forbidden and will fail with an exception.

On 28.08.2017 21:57, Emily McMahon wrote:
Does setting uid affect the default chaining (ie if I have two maps in a row and set uid on both)?

This makes me think there's no effect

All operators that are part of a chain should be assigned an ID as described in the Matching Operator State section above.


Thanks,
Emily