You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2007/11/17 00:52:43 UTC

[jira] Commented: (PIG-8) Use binary comparison in data types

    [ https://issues.apache.org/jira/browse/PIG-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543234 ] 

Alan Gates commented on PIG-8:
------------------------------

+1

Reviewed the code, it looks fine.

> Use binary comparison in data types
> -----------------------------------
>
>                 Key: PIG-8
>                 URL: https://issues.apache.org/jira/browse/PIG-8
>             Project: Pig
>          Issue Type: Improvement
>          Components: impl
>            Reporter: Olga Natkovich
>            Assignee: Olga Natkovich
>         Attachments: BinaryCompare.patch
>
>
> Currently, each data type in Pig has compareTo function as the means to compare objects during maps side sort. This is very inefficient since 2 objects need to be created for each comparison. Using binary comparison should speed things up significantly(2-3x) for most queries.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.