[ 
https://issues.apache.org/jira/browse/FLINK-2457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14693466#comment-14693466
 ] 

ASF GitHub Bot commented on FLINK-2457:
---------------------------------------

Github user mjsax commented on the pull request:

    https://github.com/apache/flink/pull/983#issuecomment-130298853
  
    I modified by hand. Was not aware of `TupleGenerator`. Just had a look into 
it. Not sure if `Tuple0` can be included appropriately. For example, it is no 
generic class; it is implemented as soft singleton. Extending `TupleGenerator` 
would result in special handling of Tuple0 in every place. Thus, adding it 
manually and not generate the source code for it seems better to me.


> Integrate Tuple0
> ----------------
>
>                 Key: FLINK-2457
>                 URL: https://issues.apache.org/jira/browse/FLINK-2457
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Matthias J. Sax
>            Assignee: Matthias J. Sax
>            Priority: Minor
>
> Tuple0 is not cleanly integrated:
>   - missing serialization/deserialization support in runtime
>  - Tuple.getTupleClass(int arity) cannot handle arity zero, ie, cannot create 
> an instance of Tuple0
> Tuple0 is currently only used in Python API, but will be integrated into 
> Storm compatibility, too.



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

Reply via email to