[jira] [Commented] (AVRO-1566) Use field default value to fill in missing values when serializing records

2014-08-12 Thread Jeno I. Hajdu (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14094848#comment-14094848 ] Jeno I. Hajdu commented on AVRO-1566: - The patch I have attached first was not complete

[jira] [Updated] (AVRO-1566) Use field default value to fill in missing values when serializing records

2014-08-12 Thread Jeno I. Hajdu (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeno I. Hajdu updated AVRO-1566: Attachment: AVRO-1566.patch Fixed proposal > Use field default value to fill in missing values when

[jira] [Updated] (AVRO-1566) Use field default value to fill in missing values when serializing records

2014-08-12 Thread Jeno I. Hajdu (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeno I. Hajdu updated AVRO-1566: Attachment: (was: AVRO-1566.patch) > Use field default value to fill in missing values when seri

[jira] [Commented] (AVRO-1566) Use field default value to fill in missing values when serializing records

2014-08-12 Thread Sean Busbey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14094602#comment-14094602 ] Sean Busbey commented on AVRO-1566: --- {noformat} + else: +self.write_data(fie

Re: Alternative use of record field default values?

2014-08-12 Thread Jeno I. Hajdu
Thanks Sean, that's exactly what I was looking for. I have opened AVRO-1566 to cover this for python, also attached the patch. Regards, Jeno On Tue, Aug 12, 2014 at 3:51 PM, Sean Busbey wrote: > If you use Record builders you will currently get this behavior in the java > implementation[1]. >

[jira] [Updated] (AVRO-1566) Use field default value to fill in missing values when serializing records

2014-08-12 Thread Jeno I. Hajdu (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeno I. Hajdu updated AVRO-1566: Attachment: AVRO-1566.patch Attached proposed solution > Use field default value to fill in missing

[jira] [Created] (AVRO-1566) Use field default value to fill in missing values when serializing records

2014-08-12 Thread Jeno I. Hajdu (JIRA)
Jeno I. Hajdu created AVRO-1566: --- Summary: Use field default value to fill in missing values when serializing records Key: AVRO-1566 URL: https://issues.apache.org/jira/browse/AVRO-1566 Project: Avro

Re: Release Avro 1.8.0 soon?

2014-08-12 Thread S G
I have put up a question for AVRO-680 (non-string map keys) and AVRO-1554 (support for UUID and Date-types). Will appreciate if someone could answer those. Thanks Sachin On Tue, Aug 5, 2014 at 7:13 AM, Christophe Taton wrote: > I'd be happy to see AVRO-1334 and AVRO-1550 checked in. > > C. > >

[jira] [Commented] (AVRO-680) Allow for non-string keys

2014-08-12 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14094384#comment-14094384 ] Sachin Goyal commented on AVRO-680: --- Also, I tried an schema1.equals(schema2) check for n

[jira] [Commented] (AVRO-739) Add Date/Time data types

2014-08-12 Thread Ryan Blue (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14094341#comment-14094341 ] Ryan Blue commented on AVRO-739: Good point about not being able to use conversion methods i

[jira] [Updated] (AVRO-739) Add Date/Time data types

2014-08-12 Thread Dmitry Kovalev (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry Kovalev updated AVRO-739: Attachment: AVRO-739-datetime-spec.xml.patch Attaching a revised patch which fixes timestamp sorting

[jira] [Commented] (AVRO-739) Add Date/Time data types

2014-08-12 Thread Dmitry Kovalev (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14094128#comment-14094128 ] Dmitry Kovalev commented on AVRO-739: - bq. I think the right way to handle this is to us

[jira] [Commented] (AVRO-739) Add Date/Time data types

2014-08-12 Thread Dmitry Kovalev (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14094121#comment-14094121 ] Dmitry Kovalev commented on AVRO-739: - bq. But what I'm trying to get at is whether your

[jira] [Commented] (AVRO-1047) Generated Java classes for specific records contain unchecked casts

2014-08-12 Thread Jurriaan Mous (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14094081#comment-14094081 ] Jurriaan Mous commented on AVRO-1047: - Can this patch be added to the next release? I h

Re: Alternative use of record field default values?

2014-08-12 Thread Sean Busbey
If you use Record builders you will currently get this behavior in the java implementation[1]. AFAICT, there's no builder equivalent in the python implementation yet. In python maybe we can skip having a builder because we can distinguish between "key maps to None" from "Dict does not contain key