RE: Avro C API - Handing of Default values

2013-05-02 Thread Steve Roehrs
Hi Doug Thanks for the tips - I don't quite understand your intention with adding the default value to the schema. The schema type (avro_schema_t) is just a typedef for an avro_obj_t. Did you mean that I should : - Add a default value (avro_value_t) to avro_obj_t - which doesn't sound right - s

[jira] [Commented] (AVRO-1316) IDL code-generation generates too-long literals for very large schemas

2013-05-02 Thread Micah Huff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13648076#comment-13648076 ] Micah Huff commented on AVRO-1316: -- That makes sense about needing to accommodate unicode

[jira] [Commented] (AVRO-1316) IDL code-generation generates too-long literals for very large schemas

2013-05-02 Thread Jeremy Kahn (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13648060#comment-13648060 ] Jeremy Kahn commented on AVRO-1316: --- Scott's right about reducing the character count to

[jira] [Commented] (AVRO-1316) IDL code-generation generates too-long literals for very large schemas

2013-05-02 Thread Micah Huff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13648053#comment-13648053 ] Micah Huff commented on AVRO-1316: -- You are correct. I mis-spoke in my comment attached. I

[jira] [Commented] (AVRO-1274) Add a schema builder API

2013-05-02 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13648048#comment-13648048 ] Scott Carey commented on AVRO-1274: --- I am planning on constraining the lexical scope via

[jira] [Commented] (AVRO-1316) IDL code-generation generates too-long literals for very large schemas

2013-05-02 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13648047#comment-13648047 ] Scott Carey commented on AVRO-1316: --- The limit in the (Sun) java compiler is 64KB in enco

[jira] [Commented] (AVRO-1315) Java: Schema Validation utilities

2013-05-02 Thread Christophe Taton (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647896#comment-13647896 ] Christophe Taton commented on AVRO-1315: That looks great. If validator and strateg

[jira] [Updated] (AVRO-1316) IDL code-generation generates too-long literals for very large schemas

2013-05-02 Thread Micah Huff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Micah Huff updated AVRO-1316: - Labels: patch (was: ) Affects Version/s: 1.7.5 Release Note: Correct java compilat

[jira] [Updated] (AVRO-1316) IDL code-generation generates too-long literals for very large schemas

2013-05-02 Thread Micah Huff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Micah Huff updated AVRO-1316: - Attachment: AVRO-1316.patch Instead of a single string constant, we split the String up into 65K chunks as

[jira] [Commented] (AVRO-1274) Add a schema builder API

2013-05-02 Thread Tom White (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647629#comment-13647629 ] Tom White commented on AVRO-1274: - I'm slightly reluctant to add lots of overloaded methods

[jira] [Commented] (AVRO-1316) IDL code-generation generates too-long literals for very large schemas

2013-05-02 Thread Micah Huff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647620#comment-13647620 ] Micah Huff commented on AVRO-1316: -- I agree with that approach [~cutting]. I am working on

[jira] [Created] (AVRO-1317) Support for get subschema from the outer one

2013-05-02 Thread chenzhenghua (JIRA)
chenzhenghua created AVRO-1317: -- Summary: Support for get subschema from the outer one Key: AVRO-1317 URL: https://issues.apache.org/jira/browse/AVRO-1317 Project: Avro Issue Type: New Feature

[jira] [Commented] (AVRO-1316) IDL code-generation generates too-long literals for very large schemas

2013-05-02 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647479#comment-13647479 ] Doug Cutting commented on AVRO-1316: I think using SchemaBuilder here would add mainten

[jira] [Commented] (AVRO-1274) Add a schema builder API

2013-05-02 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647360#comment-13647360 ] Scott Carey commented on AVRO-1274: --- I am working on a modification to the builder that w