Siddharth Seth created TEZ-1078:
-----------------------------------

             Summary: ValuesIterator does not need to deserialize keys for 
comparison
                 Key: TEZ-1078
                 URL: https://issues.apache.org/jira/browse/TEZ-1078
             Project: Apache Tez
          Issue Type: Improvement
            Reporter: Siddharth Seth
            Assignee: Siddharth Seth


ValuesIterator - which provides a Key, Values view - ends up deserializing each 
key before comparing it to the previous key when trying to determine whether a 
new key has been found or the next K-V pair in the IFile belongs to the same 
key.
It should be possible to use the compare(byte[]. ...) method from the 
RawComparator interface.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to