You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2014/10/03 13:35:33 UTC

[jira] [Created] (FLINK-1137) Add a way to configure mutable object safe mode versus object reuse

Stephan Ewen created FLINK-1137:
-----------------------------------

             Summary: Add a way to configure mutable object safe mode versus object reuse 
                 Key: FLINK-1137
                 URL: https://issues.apache.org/jira/browse/FLINK-1137
             Project: Flink
          Issue Type: Improvement
            Reporter: Stephan Ewen
            Priority: Minor


Right now, Flink is conservative and takes precautions with respect to mutable objects. Neither the modifying of objects that are input to UDFs, nor modifying objects that are returned, will cause wrong results.

This incurs a certain overhead for some operators. Most operators have a way to avoid that.

I propose an optional switch to allow to set the system to a mode where it avoids those precautions, for the sake of efficiency.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)