Re: supporting a "unit" field for avro schema

2019-07-15 Thread Erik Erlandson
If I'm interpreting the situation correctly, there is an "Avro Enhancement Proposal", but none have been filed in nearly a decade: https://cwiki.apache.org/confluence/display/AVRO/Avro+Enhancement+Proposals As a start, I submitted a jira to track this idea: https://issues.apache.org/jira/browse/AV

[jira] [Commented] (AVRO-2474) Support a "unit" property of schema fields

2019-07-15 Thread Erik Erlandson (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16885691#comment-16885691 ] Erik Erlandson commented on AVRO-2474: -- (copied from email thread)   Regarding schem

[jira] [Created] (AVRO-2474) Support a "unit" property of schema fields

2019-07-15 Thread Erik Erlandson (JIRA)
Erik Erlandson created AVRO-2474: Summary: Support a "unit" property of schema fields Key: AVRO-2474 URL: https://issues.apache.org/jira/browse/AVRO-2474 Project: Apache Avro Issue Type: Impr

Re: [jira] [Created] (AVRO-2473) C#: Fix documentation warnings

2019-07-15 Thread Brian Lachniet
Hey Patrick, thank you! I actually have a draft PR up for this now: https://github.com/apache/avro/pull/586. I could certainly use a second pair of eyes on my changes, if you're willing to review them. I want to get your Reflect changes in before we try to merge these changes in, though. I started

Re: Should a Schema be serializable in Java?

2019-07-15 Thread Driesprong, Fokko
Correct me if I'm wrong here. But as far as I understood the way of serializing the schema is using Avro, as it is part of the file. To avoid confusion there should be one way of serializing. However, I'm not sure if this is worth the hassle of not simply implementing serializable. Also Flink ther

Re: Should a Schema be serializable in Java?

2019-07-15 Thread Doug Cutting
I can't think of a reason Schema should not implement Serializable. There's actually already an issue & patch for this: https://issues.apache.org/jira/browse/AVRO-1852 Doug On Mon, Jul 15, 2019 at 6:49 AM Ismaël Mejía wrote: > +dev@avro.apache.org > > On Mon, Jul 15, 2019 at 3:30 PM Ryan Skra

Re: Should a Schema be serializable in Java?

2019-07-15 Thread Ismaël Mejía
+dev@avro.apache.org On Mon, Jul 15, 2019 at 3:30 PM Ryan Skraba wrote: > > Hello! > > I'm looking for any discussion or reference why the Schema object isn't > serializable -- I'm pretty sure this must have already been discussed (but > the keywords +avro +serializable +schema have MANY result