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

Stephan Ewen commented on FLINK-2315:
-------------------------------------

Concerning your question about the type with raw bytes vs. normalizable keys: 
Normalized keys have the advantage that they save a lot of deserializiation 
during sorting, because many element comparisons are done directly on the 
normalized key prefix. That is an advantage that adds on top of the efficiency 
gained by types that serialize/deserialize efficiently. I think it is almost 
always worth adding to a type.

> Hadoop Writables cannot exploit implementing NormalizableKey
> ------------------------------------------------------------
>
>                 Key: FLINK-2315
>                 URL: https://issues.apache.org/jira/browse/FLINK-2315
>             Project: Flink
>          Issue Type: Bug
>          Components: DataSet API
>    Affects Versions: 0.9
>            Reporter: Stephan Ewen
>             Fix For: 1.0.0
>
>
> When one implements a type that extends {{hadoop.io.Writable}} and it 
> implements {{NormalizableKey}}, this is still not exploited.
> The Writable comparator fails to recognize that.



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

Reply via email to