[jira] [Commented] (AVRO-3515) Schema.Field equals method does not include the doc attribute

2022-05-10 Thread Anders Sundelin (Jira)
[ https://issues.apache.org/jira/browse/AVRO-3515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17534302#comment-17534302 ] Anders Sundelin commented on AVRO-3515: --- I second that. As the spec says that

[jira] [Commented] (AVRO-3048) Using builders leads to performance degradation

2021-02-17 Thread Anders Sundelin (Jira)
[ https://issues.apache.org/jira/browse/AVRO-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17285812#comment-17285812 ] Anders Sundelin commented on AVRO-3048: --- It would be worthwhile specifying

[jira] [Comment Edited] (AVRO-1751) Add support for Schema Compatibility check in python API

2020-11-03 Thread Anders Sundelin (Jira)
[ https://issues.apache.org/jira/browse/AVRO-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225902#comment-17225902 ] Anders Sundelin edited comment on AVRO-1751 at 11/4/20, 7:0

[jira] [Commented] (AVRO-1751) Add support for Schema Compatibility check in python API

2020-11-03 Thread Anders Sundelin (Jira)
[ https://issues.apache.org/jira/browse/AVRO-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225902#comment-17225902 ] Anders Sundelin commented on AVRO-1751: --- Hi [~gabriel-tincu] That was

Re: [jira] [Comment Edited] (AVRO-1340) use default to allow old readers to specify default enum value when encountering new enum symbols

2018-01-15 Thread Anders Sundelin
Hi Frederic, Please be aware that having a default value, and use it in case of non-parsable enum strings, would still solve your solution. E.g: First schema has enum { UNKNOWN, MALE, FEMALE } with default: UNKNOWN Second schema defines additional mode, e.g.  { UNKNOWN, MALE, FEMALE, NON_BI

[jira] [Commented] (AVRO-2072) ResolvingGrammarGenerator doesn't implement schema resolution correctly for unions

2017-09-11 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161044#comment-16161044 ] Anders Sundelin commented on AVRO-2072: --- +1 for patch 3, I have no further comm

[jira] [Commented] (AVRO-2072) ResolvingGrammarGenerator doesn't implement schema resolution correctly for unions

2017-09-10 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16160465#comment-16160465 ] Anders Sundelin commented on AVRO-2072: --- Please substitute [long] with [int] i

[jira] [Commented] (AVRO-2075) Allow SchemaCompatibility to report possibly lossy conversions

2017-09-10 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16160462#comment-16160462 ] Anders Sundelin commented on AVRO-2075: --- Ping [~teabot], don't know

[jira] [Commented] (AVRO-2075) Allow SchemaCompatibility to report possibly lossy conversions

2017-09-10 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16160460#comment-16160460 ] Anders Sundelin commented on AVRO-2075: --- Relevant PR: https://github.com/apache/

[jira] [Updated] (AVRO-2075) Allow SchemaCompatibility to report possibly lossy conversions

2017-09-10 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin updated AVRO-2075: -- Attachment: 0001-AVRO-2075-Add-option-to-report-possible-data-loss-in.patch > Al

[jira] [Created] (AVRO-2075) Allow SchemaCompatibility to report possibly lossy conversions

2017-09-10 Thread Anders Sundelin (JIRA)
Anders Sundelin created AVRO-2075: - Summary: Allow SchemaCompatibility to report possibly lossy conversions Key: AVRO-2075 URL: https://issues.apache.org/jira/browse/AVRO-2075 Project: Avro

[jira] [Commented] (AVRO-2072) ResolvingGrammarGenerator doesn't implement schema resolution correctly for unions

2017-09-10 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16160428#comment-16160428 ] Anders Sundelin commented on AVRO-2072: --- I have reviewed your patch, [~nkollar],

[jira] [Commented] (AVRO-2072) ResolvingGrammarGenerator doesn't implement schema resolution correctly for unions

2017-08-31 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149057#comment-16149057 ] Anders Sundelin commented on AVRO-2072: --- Please feel free to update the t

[jira] [Updated] (AVRO-2072) ResolvingGrammarGenerator doesn't implement schema resolution correctly for unions

2017-08-31 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin updated AVRO-2072: -- Attachment: 0001-AVRO-1931-Additional-test-cases.patch Attached the additional test cases

[jira] [Commented] (AVRO-2072) ResolvingGrammarGenerator doesn't implement schema resolution correctly for unions

2017-08-31 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16148959#comment-16148959 ] Anders Sundelin commented on AVRO-2072: --- Hi Nandor and others, My bad, I base

[jira] [Commented] (AVRO-1933) SchemaCompatibility class could be more user-friendly about incompatibilities

2017-08-31 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16148847#comment-16148847 ] Anders Sundelin commented on AVRO-1933: --- Updated according to your comments, pl

Re: [jira] [Commented] (AVRO-2072) ResolvingGrammarGenerator doesn't implement schema resolution correctly for unions

2017-08-30 Thread Anders Sundelin
admit, I am not that well versed in the Avro release/contribution process) On a personal note (though my application does not, to my knowledge, rely on floats), I actually would prefer changing the spec, not allowing conversion to float. But YMMV, Thanks for your time, /Anders Sundelin

[jira] [Assigned] (AVRO-1931) SchemaCompatibility fails to recognize reader compatible with all branches of a union

2017-03-02 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin reassigned AVRO-1931: - Assignee: (was: Anders Sundelin) > SchemaCompatibility fails to recognize rea

[jira] [Assigned] (AVRO-1933) SchemaCompatibility class could be more user-friendly about incompatibilities

2017-03-02 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin reassigned AVRO-1933: - Assignee: (was: Anders Sundelin) > SchemaCompatibility class could be more u

[jira] [Comment Edited] (AVRO-1933) SchemaCompatibility class could be more user-friendly about incompatibilities

2017-03-02 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15891887#comment-15891887 ] Anders Sundelin edited comment on AVRO-1933 at 3/2/17 10:1

[jira] [Commented] (AVRO-1933) SchemaCompatibility class could be more user-friendly about incompatibilities

2017-03-02 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15891887#comment-15891887 ] Anders Sundelin commented on AVRO-1933: --- Here is a PR for this JIRA: h

[jira] [Commented] (AVRO-1931) SchemaCompatibility fails to recognize reader compatible with all branches of a union

2017-03-02 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15891823#comment-15891823 ] Anders Sundelin commented on AVRO-1931: --- Still trying to figure out how to work

[jira] [Updated] (AVRO-1933) SchemaCompatibility class could be more user-friendly about incompatibilities

2017-02-27 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin updated AVRO-1933: -- Assignee: Anders Sundelin Affects Version/s: 1.7.7 Status: Patch

[jira] [Updated] (AVRO-1931) SchemaCompatibility fails to recognize reader compatible with all branches of a union

2017-02-27 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin updated AVRO-1931: -- Assignee: Anders Sundelin Affects Version/s: 1.7.7 Status: Patch

[jira] [Updated] (AVRO-1931) SchemaCompatibility fails to recognize reader compatible with all branches of a union

2017-02-27 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin updated AVRO-1931: -- Labels: patch (was: ) > SchemaCompatibility fails to recognize reader compatible with

[jira] [Commented] (AVRO-1931) SchemaCompatibility fails to recognize reader compatible with all branches of a union

2017-02-27 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15885420#comment-15885420 ] Anders Sundelin commented on AVRO-1931: --- Sure could, I just wanted someone els

[jira] [Commented] (AVRO-1933) SchemaCompatibility class could be more user-friendly about incompatibilities

2017-02-21 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15876063#comment-15876063 ] Anders Sundelin commented on AVRO-1933: --- I agree that the addition of

Re: Checking if schema evolution will work.

2016-11-25 Thread Anders Sundelin
Hi, For Java, there is a SchemaCompatibility class that tells if two schemas are compatible in the reader/writer sense. A while back, I noted some issues, and evolved this class a bit, making it a bit more user friendly. There are still some issues, particularly with float unions, but if yo

Re: [jira] [Commented] (AVRO-1961) [JAVA] Generate getters that return an Optional

2016-11-25 Thread Anders Sundelin
There are many arguments for/against Optionals on the web, but the consensus seem to be that Optionals are best used as method return types, not as method parameters. Therefore, I think the setters should still use the plain objects, as there are anyway no practical way to enforce non-nullity

Re: [DISCUSS] Community engagement

2016-11-13 Thread Anders Sundelin
Hi Ryan, I am new in this community, so please take my comments with that in mind :-) The idea of splitting implementations seems very logical to me, but I think that, as Avro is a serialization framework, there would have to be integration tests that take into account that the byte-level imp

[jira] [Comment Edited] (AVRO-1933) SchemaCompatibility class could be more user-friendly about incompatibilities

2016-10-12 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15568638#comment-15568638 ] Anders Sundelin edited comment on AVRO-1933 at 10/12/16 2:5

[jira] [Updated] (AVRO-1933) SchemaCompatibility class could be more user-friendly about incompatibilities

2016-10-12 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin updated AVRO-1933: -- Attachment: AVRO-1933-compatible-with-AVRO-1931.patch Patch set compatible with AVRO-1931 patch

[jira] [Updated] (AVRO-1933) SchemaCompatibility class could be more user-friendly about incompatibilities

2016-10-12 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin updated AVRO-1933: -- Attachment: AVRO-1933.patch Patch set adding more error details to SchemaCompatibility. Also

[jira] [Created] (AVRO-1933) SchemaCompatibility class could be more user-friendly about incompatibilities

2016-10-12 Thread Anders Sundelin (JIRA)
Anders Sundelin created AVRO-1933: - Summary: SchemaCompatibility class could be more user-friendly about incompatibilities Key: AVRO-1933 URL: https://issues.apache.org/jira/browse/AVRO-1933 Project

[jira] [Commented] (AVRO-1931) SchemaCompatibility fails to recognize reader compatible with all branches of a union

2016-10-11 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565311#comment-15565311 ] Anders Sundelin commented on AVRO-1931: --- After investigating this a little fur

[jira] [Updated] (AVRO-1931) SchemaCompatibility fails to recognize reader compatible with all branches of a union

2016-10-11 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin updated AVRO-1931: -- Attachment: (was: AVRO-1931.patch) > SchemaCompatibility fails to recognize rea

[jira] [Updated] (AVRO-1931) SchemaCompatibility fails to recognize reader compatible with all branches of a union

2016-10-11 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin updated AVRO-1931: -- Attachment: AVRO-1931-2.patch Updated with more test cases, showing inconsistencies with float

[jira] [Updated] (AVRO-1931) SchemaCompatibility fails to recognize reader compatible with all branches of a union

2016-10-08 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin updated AVRO-1931: -- Attachment: AVRO-1931.patch > SchemaCompatibility fails to recognize reader compatible with

[jira] [Updated] (AVRO-1931) SchemaCompatibility fails to recognize reader compatible with all branches of a union

2016-10-08 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin updated AVRO-1931: -- Attachment: (was: AVRO-1931.patch) > SchemaCompatibility fails to recognize rea

[jira] [Updated] (AVRO-1931) SchemaCompatibility fails to recognize reader compatible with all branches of a union

2016-10-07 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin updated AVRO-1931: -- Attachment: AVRO-1931.patch > SchemaCompatibility fails to recognize reader compatible with

[jira] [Created] (AVRO-1931) SchemaCompatibility fails to recognize reader compatible with all branches of a union

2016-10-07 Thread Anders Sundelin (JIRA)
Anders Sundelin created AVRO-1931: - Summary: SchemaCompatibility fails to recognize reader compatible with all branches of a union Key: AVRO-1931 URL: https://issues.apache.org/jira/browse/AVRO-1931

[jira] [Updated] (AVRO-1929) SchemaCompatibility fails to recognize string<->bytes promotion

2016-10-04 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin updated AVRO-1929: -- Status: Patch Available (was: Open) This time, added the patch as a attached file HTH /Anders

[jira] [Updated] (AVRO-1929) SchemaCompatibility fails to recognize string<->bytes promotion

2016-10-04 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin updated AVRO-1929: -- Attachment: AVRO-1929.patch Patch for AVRO-1929 issue > SchemaCompatibility fails to recogn

[jira] [Updated] (AVRO-1929) SchemaCompatibility fails to recognize string<->bytes promotion

2016-10-04 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin updated AVRO-1929: -- Status: Open (was: Patch Available) > SchemaCompatibility fails to recognize string<-

[jira] [Updated] (AVRO-1929) SchemaCompatibility fails to recognize string<->bytes promotion

2016-10-04 Thread Anders Sundelin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anders Sundelin updated AVRO-1929: -- Status: Patch Available (was: Open) diff --git a/lang/java/avro/src/main/java/org/apache/avro

[jira] [Created] (AVRO-1929) SchemaCompatibility fails to recognize string<->bytes promotion

2016-10-04 Thread Anders Sundelin (JIRA)
Anders Sundelin created AVRO-1929: - Summary: SchemaCompatibility fails to recognize string<->bytes promotion Key: AVRO-1929 URL: https://issues.apache.org/jira/browse/AVRO-1929 Project