You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Jeff Hammerbacher (JIRA)" <ji...@apache.org> on 2010/01/07 20:28:54 UTC

[jira] Created: (AVRO-293) Add tests for default field values in io.py

Add tests for default field values in io.py
-------------------------------------------

                 Key: AVRO-293
                 URL: https://issues.apache.org/jira/browse/AVRO-293
             Project: Avro
          Issue Type: Test
          Components: python
            Reporter: Jeff Hammerbacher




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


[jira] Updated: (AVRO-293) Add tests for default field values in io.py

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

Jeff Hammerbacher updated AVRO-293:
-----------------------------------

    Status: Open  (was: Patch Available)

Patch has gone stale; will fold work into AVRO-289

> Add tests for default field values in io.py
> -------------------------------------------
>
>                 Key: AVRO-293
>                 URL: https://issues.apache.org/jira/browse/AVRO-293
>             Project: Avro
>          Issue Type: Test
>          Components: python
>            Reporter: Jeff Hammerbacher
>            Assignee: Jeff Hammerbacher
>             Fix For: 1.3.0
>
>         Attachments: AVRO-293.patch
>
>


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


[jira] Resolved: (AVRO-293) Add tests for default field values in io.py

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

Jeff Hammerbacher resolved AVRO-293.
------------------------------------

    Resolution: Duplicate

Will be handled in AVRO-289

> Add tests for default field values in io.py
> -------------------------------------------
>
>                 Key: AVRO-293
>                 URL: https://issues.apache.org/jira/browse/AVRO-293
>             Project: Avro
>          Issue Type: Test
>          Components: python
>            Reporter: Jeff Hammerbacher
>            Assignee: Jeff Hammerbacher
>             Fix For: 1.3.0
>
>         Attachments: AVRO-293.patch
>
>


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


[jira] Commented: (AVRO-293) Add tests for default field values in io.py

Posted by "Jeff Hammerbacher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797759#action_12797759 ] 

Jeff Hammerbacher commented on AVRO-293:
----------------------------------------

Some trickiness:
 * Simplejson parses a JSON null as a Python None
 * Need to sort out encoding issues for bytes

> Add tests for default field values in io.py
> -------------------------------------------
>
>                 Key: AVRO-293
>                 URL: https://issues.apache.org/jira/browse/AVRO-293
>             Project: Avro
>          Issue Type: Test
>          Components: python
>            Reporter: Jeff Hammerbacher
>            Assignee: Jeff Hammerbacher
>


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


[jira] Updated: (AVRO-293) Add tests for default field values in io.py

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

Jeff Hammerbacher updated AVRO-293:
-----------------------------------

    Fix Version/s: 1.3.0
           Status: Patch Available  (was: Open)

> Add tests for default field values in io.py
> -------------------------------------------
>
>                 Key: AVRO-293
>                 URL: https://issues.apache.org/jira/browse/AVRO-293
>             Project: Avro
>          Issue Type: Test
>          Components: python
>            Reporter: Jeff Hammerbacher
>            Assignee: Jeff Hammerbacher
>             Fix For: 1.3.0
>
>         Attachments: AVRO-293.patch
>
>


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


[jira] Assigned: (AVRO-293) Add tests for default field values in io.py

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

Jeff Hammerbacher reassigned AVRO-293:
--------------------------------------

    Assignee: Jeff Hammerbacher

> Add tests for default field values in io.py
> -------------------------------------------
>
>                 Key: AVRO-293
>                 URL: https://issues.apache.org/jira/browse/AVRO-293
>             Project: Avro
>          Issue Type: Test
>          Components: python
>            Reporter: Jeff Hammerbacher
>            Assignee: Jeff Hammerbacher
>


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


[jira] Updated: (AVRO-293) Add tests for default field values in io.py

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

Jeff Hammerbacher updated AVRO-293:
-----------------------------------

    Attachment: AVRO-293.patch

Had to make some changes to schema parsing to accommodate default values for null schemas, and had to update the spec to indicate the limitation on unicode code points allowed as code points for default values for bytes schemas, but default values work for all schema types now.

> Add tests for default field values in io.py
> -------------------------------------------
>
>                 Key: AVRO-293
>                 URL: https://issues.apache.org/jira/browse/AVRO-293
>             Project: Avro
>          Issue Type: Test
>          Components: python
>            Reporter: Jeff Hammerbacher
>            Assignee: Jeff Hammerbacher
>             Fix For: 1.3.0
>
>         Attachments: AVRO-293.patch
>
>


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