[jira] [Updated] (AVRO-1571) Support parameterized types in Avro

2017-01-15 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-1571: --- Description: The below code cannot be serialized by Avro. {code} class Leaf { P p; Q q; }

[jira] [Commented] (AVRO-1571) Support parameterized types in Avro

2017-01-15 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15823511#comment-15823511 ] Sachin Goyal commented on AVRO-1571: Attached a simple test to help see this issue clearly. > Support

[jira] [Updated] (AVRO-1571) Support parameterized types in Avro

2017-01-15 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-1571: --- Attachment: ParameterizedTypesTest.java > Support parameterized types in Avro >

[jira] [Updated] (AVRO-1571) Support parameterized types in Avro

2017-01-15 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-1571: --- Affects Version/s: 1.8.1 > Support parameterized types in Avro > --- >

[jira] [Resolved] (AVRO-1893) UUIDs are deserialized into Strings and not UUIDs

2016-08-03 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal resolved AVRO-1893. Resolution: Fixed Thanks [~rdblue], This fixes this issue. > UUIDs are deserialized into Strings

[jira] [Updated] (AVRO-1893) UUIDs are deserialized into Strings and not UUIDs

2016-08-03 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-1893: --- Attachment: TestUuidFields.java > UUIDs are deserialized into Strings and not UUIDs >

[jira] [Created] (AVRO-1893) UUIDs are deserialized into Strings and not UUIDs

2016-08-03 Thread Sachin Goyal (JIRA)
Sachin Goyal created AVRO-1893: -- Summary: UUIDs are deserialized into Strings and not UUIDs Key: AVRO-1893 URL: https://issues.apache.org/jira/browse/AVRO-1893 Project: Avro Issue Type: Bug

[jira] [Updated] (AVRO-1889) Upgrade maven-shade plugin

2016-07-26 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-1889: --- Assignee: (was: Sachin Goyal) Status: Patch Available (was: Open) > Upgrade maven-shade

[jira] [Updated] (AVRO-1882) ConcurrentHashMap with non-string keys fails in Java 1.8

2016-07-26 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-1882: --- Status: Patch Available (was: Open) > ConcurrentHashMap with non-string keys fails in Java 1.8 >

[jira] [Created] (AVRO-1889) Upgrade maven-shade plugin

2016-07-25 Thread Sachin Goyal (JIRA)
Sachin Goyal created AVRO-1889: -- Summary: Upgrade maven-shade plugin Key: AVRO-1889 URL: https://issues.apache.org/jira/browse/AVRO-1889 Project: Avro Issue Type: Bug Reporter:

[jira] [Updated] (AVRO-1882) ConcurrentHashMap with non-string keys fails in Java 1.8

2016-07-11 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-1882: --- Attachment: TestNonStringConcurrentMap.java Exception for the above test is: {noformat}

[jira] [Comment Edited] (AVRO-1882) ConcurrentHashMap with non-string keys fails in Java 1.8

2016-07-11 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15371885#comment-15371885 ] Sachin Goyal edited comment on AVRO-1882 at 7/11/16 11:27 PM: -- Exception for

[jira] [Created] (AVRO-1882) ConcurrentHashMap with non-string keys fails in Java 1.8

2016-07-11 Thread Sachin Goyal (JIRA)
Sachin Goyal created AVRO-1882: -- Summary: ConcurrentHashMap with non-string keys fails in Java 1.8 Key: AVRO-1882 URL: https://issues.apache.org/jira/browse/AVRO-1882 Project: Avro Issue Type:

[jira] [Commented] (AVRO-1692) Allow more than one logical type for a Java class

2016-02-03 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15130921#comment-15130921 ] Sachin Goyal commented on AVRO-1692: I guess we can now close

[jira] [Commented] (AVRO-1568) Allow Java polymorphism in Avro for third-party code

2015-04-20 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14504362#comment-14504362 ] Sachin Goyal commented on AVRO-1568: I am not sure how easy it is to construct the

[jira] [Commented] (AVRO-1568) Allow Java polymorphism in Avro for third-party code

2015-04-20 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14504363#comment-14504363 ] Sachin Goyal commented on AVRO-1568: I cannot edit my comments. How do I get access?

[jira] [Commented] (AVRO-1568) Allow Java polymorphism in Avro for third-party code

2015-04-17 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14500235#comment-14500235 ] Sachin Goyal commented on AVRO-1568: {quote}Do we expect avro-serializiable classes to

[jira] [Commented] (AVRO-1568) Allow Java polymorphism in Avro for third-party code

2015-04-17 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14500117#comment-14500117 ] Sachin Goyal commented on AVRO-1568: I agree with the above reasoning. But I am not

[jira] [Commented] (AVRO-1568) Allow Java polymorphism in Avro for third-party code

2015-04-15 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14496556#comment-14496556 ] Sachin Goyal commented on AVRO-1568: [~rdblue], can you provide an example for the

[jira] [Commented] (AVRO-1554) Avro should have support for common constructs like UUID and Date

2015-03-29 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14386151#comment-14386151 ] Sachin Goyal commented on AVRO-1554: Thanks [~rdblue] I like the solution provided in

[jira] [Created] (AVRO-1650) Avro deserialization fails depending on the value of integer/long fields

2015-03-19 Thread Sachin Goyal (JIRA)
Sachin Goyal created AVRO-1650: -- Summary: Avro deserialization fails depending on the value of integer/long fields Key: AVRO-1650 URL: https://issues.apache.org/jira/browse/AVRO-1650 Project: Avro

[jira] [Resolved] (AVRO-1650) Avro deserialization fails depending on the value of integer/long fields

2015-03-19 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal resolved AVRO-1650. Resolution: Not a Problem Avro deserialization fails depending on the value of integer/long fields

[jira] [Commented] (AVRO-695) Cycle Reference Support

2015-03-16 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14363782#comment-14363782 ] Sachin Goyal commented on AVRO-695: --- Updated the pull request with the merged AVRO-680

[jira] [Commented] (AVRO-695) Cycle Reference Support

2015-03-15 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14362409#comment-14362409 ] Sachin Goyal commented on AVRO-695: --- [~rdblue], [~cutting], Circular references are very

[jira] [Commented] (AVRO-1554) Avro should have support for common constructs like UUID and Date

2015-03-15 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14362408#comment-14362408 ] Sachin Goyal commented on AVRO-1554: [~rdblue], Appreciate your help with AVRO-680.

[jira] [Commented] (AVRO-1569) ReflectData.AllowNull fails with polymorphism

2015-03-11 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14357565#comment-14357565 ] Sachin Goyal commented on AVRO-1569: I think we probably need both the fixes. The fix

[jira] [Commented] (AVRO-1562) Add support for types extending Maps/Collections

2015-03-11 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14357633#comment-14357633 ] Sachin Goyal commented on AVRO-1562: I have submitted a PR for this, just in case this

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

2015-03-08 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14352582#comment-14352582 ] Sachin Goyal commented on AVRO-680: --- [~rdblue], glad that I was able to clear this. I have

[jira] [Created] (AVRO-1648) @Union annotation cannot handle the class on which its used

2015-03-06 Thread Sachin Goyal (JIRA)
Sachin Goyal created AVRO-1648: -- Summary: @Union annotation cannot handle the class on which its used Key: AVRO-1648 URL: https://issues.apache.org/jira/browse/AVRO-1648 Project: Avro Issue

[jira] [Commented] (AVRO-1571) Support parameterized types in Avro

2015-03-06 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14351149#comment-14351149 ] Sachin Goyal commented on AVRO-1571: [~rajiv.a1], I mean to introduce a new class

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

2015-02-26 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14339421#comment-14339421 ] Sachin Goyal commented on AVRO-680: --- Thanks [~rdblue], I have updated the pull request

[jira] [Created] (AVRO-1643) Add non-String maps as a logical type

2015-02-26 Thread Sachin Goyal (JIRA)
Sachin Goyal created AVRO-1643: -- Summary: Add non-String maps as a logical type Key: AVRO-1643 URL: https://issues.apache.org/jira/browse/AVRO-1643 Project: Avro Issue Type: Bug Affects

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

2015-02-23 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14333687#comment-14333687 ] Sachin Goyal commented on AVRO-680: --- [~rdblue], I have fixed the following as well:

[jira] [Commented] (AVRO-695) Cycle Reference Support

2015-02-19 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14328067#comment-14328067 ] Sachin Goyal commented on AVRO-695: --- On a related note, Hive AvroSerDe will also be

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

2015-02-19 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14328293#comment-14328293 ] Sachin Goyal commented on AVRO-680: --- If its more convenient, I have also created a pull

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

2015-02-19 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-680: -- Attachment: AVRO-680.patch [~rdblue], here is a new patch with the above suggestions. Main change is in

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

2015-02-12 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14318926#comment-14318926 ] Sachin Goyal commented on AVRO-680: --- Thanks [~rdblue], my responses on the same: # Good

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

2015-02-12 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14319175#comment-14319175 ] Sachin Goyal commented on AVRO-680: --- {quote}Otherwise, we could restrict it to just

[jira] [Updated] (AVRO-1554) Avro should have support for common constructs like UUID and Date

2015-02-06 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-1554: --- Status: Patch Available (was: Open) Avro should have support for common constructs like UUID and

[jira] [Updated] (AVRO-1554) Avro should have support for common constructs like UUID and Date

2015-02-03 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-1554: --- Attachment: AVRO-1554_3.patch Removed the DateEncoding from the patch as its already implemented in

[jira] [Updated] (AVRO-695) Cycle Reference Support

2015-01-21 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-695: -- Attachment: AVRO-695.patch Here is a patch with the updated test-cases. I also confirm that all my

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

2015-01-20 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14284694#comment-14284694 ] Sachin Goyal commented on AVRO-680: --- [~cutting], can you help decide what would be a

[jira] [Commented] (AVRO-1285) Avro schema compile does not support circular reference

2014-12-15 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14247517#comment-14247517 ] Sachin Goyal commented on AVRO-1285: There is an old ticket for circular references in

[jira] [Commented] (AVRO-1554) Avro should have support for common constructs like UUID and Date

2014-09-15 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14134115#comment-14134115 ] Sachin Goyal commented on AVRO-1554: Since AVRO-739 is close to completion, I guess we

[jira] [Commented] (AVRO-1562) Add support for types extending Maps/Collections

2014-09-08 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14125830#comment-14125830 ] Sachin Goyal commented on AVRO-1562: Thank you [~martinkl] for weighing in on this.

[jira] [Updated] (AVRO-695) Cycle Reference Support

2014-09-02 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-695: -- Attachment: avro_circular_refs7.patch PERF_8000_cycles.zip avro_circular_refs7.patch

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

2014-09-01 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-680: -- Attachment: PERF_8000_cycles.zip {quote} It would be great to have something that took a pair of runs and

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

2014-08-29 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-680: -- Attachment: non_string_map_perf2.txt non_string_map_perf.txt

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

2014-08-28 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14114683#comment-14114683 ] Sachin Goyal commented on AVRO-680: --- I confirm the new patch is in sync with the older

[jira] [Commented] (AVRO-1568) Allow Java polymorphism in Avro for third-party code

2014-08-24 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14108291#comment-14108291 ] Sachin Goyal commented on AVRO-1568: Yes, that would be more generic. We can also

[jira] [Created] (AVRO-1571) Support parameterized types in Avro

2014-08-23 Thread Sachin Goyal (JIRA)
Sachin Goyal created AVRO-1571: -- Summary: Support parameterized types in Avro Key: AVRO-1571 URL: https://issues.apache.org/jira/browse/AVRO-1571 Project: Avro Issue Type: Bug Affects

[jira] [Commented] (AVRO-1571) Support parameterized types in Avro

2014-08-23 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14108076#comment-14108076 ] Sachin Goyal commented on AVRO-1571: If we pass an obj of type 'ParentContext' to

[jira] [Updated] (AVRO-695) Cycle Reference Support

2014-08-21 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-695: -- Attachment: avro_circular_refs6.patch avro_circular_refs6.patch is created using {code} lang/java/avro%

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

2014-08-21 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14105909#comment-14105909 ] Sachin Goyal commented on AVRO-680: --- Please remove avro_circular_refs6.patch and the

[jira] [Updated] (AVRO-1562) Add support for types extending Maps/Collections

2014-08-21 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-1562: --- Status: Patch Available (was: Open) Here is the first patch for this issue. Comments welcome! Diff

[jira] [Updated] (AVRO-1562) Add support for types extending Maps/Collections

2014-08-21 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-1562: --- Attachment: custom_map_and_collections1.patch Add support for types extending Maps/Collections

[jira] [Commented] (AVRO-1568) Allow Java polymorphism in Avro

2014-08-21 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14106352#comment-14106352 ] Sachin Goyal commented on AVRO-1568: Doug Cutting's reply: One way to handle

[jira] [Commented] (AVRO-1568) Allow Java polymorphism in Avro

2014-08-21 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14106366#comment-14106366 ] Sachin Goyal commented on AVRO-1568: This works great for code which is directly under

[jira] [Updated] (AVRO-1568) Allow Java polymorphism in Avro for third-party code

2014-08-21 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-1568: --- Issue Type: Improvement (was: New Feature) Summary: Allow Java polymorphism in Avro for

[jira] [Created] (AVRO-1569) ReflectData.AllowNull fails with polymorphism

2014-08-21 Thread Sachin Goyal (JIRA)
Sachin Goyal created AVRO-1569: -- Summary: ReflectData.AllowNull fails with polymorphism Key: AVRO-1569 URL: https://issues.apache.org/jira/browse/AVRO-1569 Project: Avro Issue Type: Bug

[jira] [Created] (AVRO-1570) ReflectData.AllowNull fails with polymorphism and @Union annotation

2014-08-21 Thread Sachin Goyal (JIRA)
Sachin Goyal created AVRO-1570: -- Summary: ReflectData.AllowNull fails with polymorphism and @Union annotation Key: AVRO-1570 URL: https://issues.apache.org/jira/browse/AVRO-1570 Project: Avro

[jira] [Commented] (AVRO-1568) Allow Java polymorphism in Avro for third-party code

2014-08-21 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14106444#comment-14106444 ] Sachin Goyal commented on AVRO-1568: Also found two related issues at AVRO-1569 and

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

2014-08-19 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-680: -- Attachment: non_string_map_keys7.patch Thanks [~cutting], I agree with the above comments. Here is

[jira] [Commented] (AVRO-1562) Add support for types extending Maps/Collections

2014-08-15 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14098980#comment-14098980 ] Sachin Goyal commented on AVRO-1562: I have a patch ready for this. Will be submitting

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

2014-08-15 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14098976#comment-14098976 ] Sachin Goyal commented on AVRO-680: --- Consider the following code in GenericData#toString()

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

2014-08-14 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-680: -- Attachment: isMap_Call_Hierarchy.png Allow for non-string keys -

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

2014-08-14 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14097789#comment-14097789 ] Sachin Goyal commented on AVRO-680: --- Please see my comment on 06/Aug/14 11:49 It doesn't

[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-tabpanelfocusedCommentId=14094384#comment-14094384 ] Sachin Goyal commented on AVRO-680: --- Also, I tried an schema1.equals(schema2) check for

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

2014-08-06 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-680: -- Attachment: non_string_map_keys6.patch Adding another patch with following fixes: {quote} Why are

[jira] [Commented] (AVRO-1554) Avro should have support for common constructs like UUID and Date

2014-08-06 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14088281#comment-14088281 ] Sachin Goyal commented on AVRO-1554: AllowNull is currently not playing any role while

[jira] [Created] (AVRO-1562) Add support for types extending Maps/Collections

2014-08-06 Thread Sachin Goyal (JIRA)
Sachin Goyal created AVRO-1562: -- Summary: Add support for types extending Maps/Collections Key: AVRO-1562 URL: https://issues.apache.org/jira/browse/AVRO-1562 Project: Avro Issue Type: Bug

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

2014-08-01 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14082798#comment-14082798 ] Sachin Goyal commented on AVRO-680: --- Agree with the above. Will add the modified patch

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

2014-08-01 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-680: -- Attachment: non_string_map_keys5.patch non_string_map_keys5.patch is attached with fixes for #2 and #3

[jira] [Updated] (AVRO-1554) Avro should have support for common constructs like UUID and Date

2014-07-30 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-1554: --- Attachment: CustomEncodingUnionBug.zip {quote} I am confused by the handling of custom-encoded unions

[jira] [Updated] (AVRO-1554) Avro should have support for common constructs like UUID and Date

2014-07-30 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-1554: --- Attachment: AVRO-1554_2.patch {quote} That works if the values are not null, but if they're null it

[jira] [Updated] (AVRO-1554) Avro should have support for common constructs like UUID and Date

2014-07-29 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-1554: --- Attachment: AVRO-1554.patch Attaching patch for #2 solution above. +Summary+: # ReflectData has a

[jira] [Commented] (AVRO-1554) Avro should have support for common constructs like UUID and Date

2014-07-29 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14078425#comment-14078425 ] Sachin Goyal commented on AVRO-1554: Thank you for reviewing. I did think about adding

[jira] [Commented] (AVRO-1554) Avro should have support for common constructs like UUID and Date

2014-07-29 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14078507#comment-14078507 ] Sachin Goyal commented on AVRO-1554: Correction! The following line above: {quote}

[jira] [Created] (AVRO-1554) Avro should have support for common constructs like UUID and Date

2014-07-28 Thread Sachin Goyal (JIRA)
Sachin Goyal created AVRO-1554: -- Summary: Avro should have support for common constructs like UUID and Date Key: AVRO-1554 URL: https://issues.apache.org/jira/browse/AVRO-1554 Project: Avro

[jira] [Commented] (AVRO-1554) Avro should have support for common constructs like UUID and Date

2014-07-28 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14076591#comment-14076591 ] Sachin Goyal commented on AVRO-1554: This could be done in a couple of ways: 1) Add

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

2014-07-26 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-680: -- Attachment: non_string_map_keys4.patch [~cutting], I have incorporated the above suggestions.

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

2014-07-22 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14070486#comment-14070486 ] Sachin Goyal commented on AVRO-680: --- I will try to submit a patch with these suggestions

[jira] [Commented] (AVRO-695) Cycle Reference Support

2014-07-21 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14068886#comment-14068886 ] Sachin Goyal commented on AVRO-695: --- Thanks [~cutting]. I agree that this will eliminate

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

2014-07-21 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14069485#comment-14069485 ] Sachin Goyal commented on AVRO-680: --- Thanks [~cutting]. I have confirmed that the changes

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

2014-07-21 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14069542#comment-14069542 ] Sachin Goyal commented on AVRO-680: --- Yes, that is correct. AbstractMap.SimpleEntry does

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

2014-07-21 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14069564#comment-14069564 ] Sachin Goyal commented on AVRO-680: --- Sorry, I did not get what is meant by instead writes

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

2014-07-21 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14069687#comment-14069687 ] Sachin Goyal commented on AVRO-680: --- Yes, that would help. Please add the pseudocode.

[jira] [Commented] (AVRO-695) Cycle Reference Support

2014-07-20 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14068023#comment-14068023 ] Sachin Goyal commented on AVRO-695: --- {quote} The writer would add an entry to an

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

2014-07-19 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-680: -- Attachment: non_string_map_keys3.zip Thanks [~cutting], I have incorporated both the suggestions: #

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

2014-07-04 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-680: -- Attachment: non_string_map_keys2.zip Incorporated all the suggestions. Changes are only in 3 files now:

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

2014-07-02 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-680: -- Affects Version/s: 1.7.7 1.7.6 Status: Patch Available (was: Open)

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

2014-07-02 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-680: -- Attachment: non_string_map_keys.zip Allow for non-string keys -

[jira] [Commented] (AVRO-695) Cycle Reference Support

2014-07-02 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14051012#comment-14051012 ] Sachin Goyal commented on AVRO-695: --- Thanks Doug. I created the patch using *diff -r* and

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

2014-06-26 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14045307#comment-14045307 ] Sachin Goyal commented on AVRO-680: --- I have submitted a patch for non-string map keys

[jira] [Updated] (AVRO-695) Cycle Reference Support

2014-06-25 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-695: -- Attachment: circular_refs_and_nonstring_map_keys_2014_06_25.zip Cycle Reference Support

[jira] [Commented] (AVRO-695) Cycle Reference Support

2014-06-25 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14044266#comment-14044266 ] Sachin Goyal commented on AVRO-695: --- h3.Circular References

[jira] [Commented] (AVRO-695) Cycle Reference Support

2014-06-13 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14030919#comment-14030919 ] Sachin Goyal commented on AVRO-695: --- For other applications to read, they must set in the

[jira] [Updated] (AVRO-695) Cycle Reference Support

2014-06-12 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-695: -- Affects Version/s: (was: 1.4.1) 1.7.6 Status: Patch Available

[jira] [Updated] (AVRO-695) Cycle Reference Support

2014-06-12 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sachin Goyal updated AVRO-695: -- Attachment: avro_circular_references.zip Avro-Circular-References-1.7.6 Cycle Reference Support

[jira] [Commented] (AVRO-695) Cycle Reference Support

2014-06-12 Thread Sachin Goyal (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14029922#comment-14029922 ] Sachin Goyal commented on AVRO-695: --- For designs with no circular reference, the above

  1   2   >