You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2009/08/28 18:46:33 UTC

[jira] Created: (AVRO-109) add comparator control to record schemas

add comparator control to record schemas
----------------------------------------

                 Key: AVRO-109
                 URL: https://issues.apache.org/jira/browse/AVRO-109
             Project: Avro
          Issue Type: New Feature
          Components: spec
            Reporter: Doug Cutting


It should be possible to add information about ordering to record fields.  AVRO-41 and AVRO-108 add ordering by fields.  In addition, it would be useful to specify:
 - that a field should be sorted in reverse
 - that a field should be ignored when sorting


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


[jira] Updated: (AVRO-109) add comparator control to record schemas

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated AVRO-109:
------------------------------

    Attachment: AVRO-109.patch

Here's a patch that implements this.

> add comparator control to record schemas
> ----------------------------------------
>
>                 Key: AVRO-109
>                 URL: https://issues.apache.org/jira/browse/AVRO-109
>             Project: Avro
>          Issue Type: New Feature
>          Components: spec
>            Reporter: Doug Cutting
>             Fix For: 1.1.0
>
>         Attachments: AVRO-109.patch
>
>
> It should be possible to add information about ordering to record fields.  AVRO-41 and AVRO-108 add ordering by fields.  In addition, it would be useful to specify:
>  - that a field should be sorted in reverse
>  - that a field should be ignored when sorting

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


[jira] Commented: (AVRO-109) add comparator control to record schemas

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12748899#action_12748899 ] 

Doug Cutting commented on AVRO-109:
-----------------------------------

To implement this, we might add the following optional JSON keywords to schemas:
 - "sort": "reverse" would indicate that records should be sorted in reverse order by this field
 - "sort": "ignore" would indicate that this field should be ignored when sorting.


> add comparator control to record schemas
> ----------------------------------------
>
>                 Key: AVRO-109
>                 URL: https://issues.apache.org/jira/browse/AVRO-109
>             Project: Avro
>          Issue Type: New Feature
>          Components: spec
>            Reporter: Doug Cutting
>
> It should be possible to add information about ordering to record fields.  AVRO-41 and AVRO-108 add ordering by fields.  In addition, it would be useful to specify:
>  - that a field should be sorted in reverse
>  - that a field should be ignored when sorting

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


[jira] Updated: (AVRO-109) add comparator control to record schemas

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated AVRO-109:
------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this.

> add comparator control to record schemas
> ----------------------------------------
>
>                 Key: AVRO-109
>                 URL: https://issues.apache.org/jira/browse/AVRO-109
>             Project: Avro
>          Issue Type: New Feature
>          Components: spec
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.1.0
>
>         Attachments: AVRO-109.patch
>
>
> It should be possible to add information about ordering to record fields.  AVRO-41 and AVRO-108 add ordering by fields.  In addition, it would be useful to specify:
>  - that a field should be sorted in reverse
>  - that a field should be ignored when sorting

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


[jira] Updated: (AVRO-109) add comparator control to record schemas

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated AVRO-109:
------------------------------

    Fix Version/s: 1.1.0
         Assignee: Doug Cutting
           Status: Patch Available  (was: Open)

Barring objections, I will commit this soon.

> add comparator control to record schemas
> ----------------------------------------
>
>                 Key: AVRO-109
>                 URL: https://issues.apache.org/jira/browse/AVRO-109
>             Project: Avro
>          Issue Type: New Feature
>          Components: spec
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.1.0
>
>         Attachments: AVRO-109.patch
>
>
> It should be possible to add information about ordering to record fields.  AVRO-41 and AVRO-108 add ordering by fields.  In addition, it would be useful to specify:
>  - that a field should be sorted in reverse
>  - that a field should be ignored when sorting

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