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

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

Github user tillrohrmann commented on the pull request:

    https://github.com/apache/flink/pull/814#issuecomment-114232368
  
    The subtypes of `Writable` are still serialized using the special 
`Writable` serializer. However, there are situations where you only have a 
`Writable` type, e.g. for the Mahout DSL or if you have `DataSet` of 
`LongWritable` and `TextWritable`.. Why should we not allow to use the 
interface type then?


> Type extractor does not support Writable type
> ---------------------------------------------
>
>                 Key: FLINK-2194
>                 URL: https://issues.apache.org/jira/browse/FLINK-2194
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>
> The type extractor supports sub types of {{Writable}} but not {{Writable}} 
> itself. The reason is that it wants to create a {{WritableTypeInfo}} which is 
> not possible for the interface {{Writable}}, though. A solution would be to 
> treat the {{Writable}} interface like a generic type. 



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

Reply via email to