avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-1886) Improve error reporting for schema validation
Date Mon, 25 Jul 2016 14:15:20 GMT

     [ https://issues.apache.org/jira/browse/AVRO-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sean Busbey updated AVRO-1886:
------------------------------
    Assignee: Miroslav Csonka

> Improve error reporting for schema validation
> ---------------------------------------------
>
>                 Key: AVRO-1886
>                 URL: https://issues.apache.org/jira/browse/AVRO-1886
>             Project: Avro
>          Issue Type: Improvement
>          Components: ruby
>            Reporter: Miroslav Csonka
>            Assignee: Miroslav Csonka
>             Fix For: 1.9.0, 1.8.2
>
>
> In Funding Circle we use avro schema to validate some financial data and we've found
ourselves wondering what is invalid. We've noticed that avro [does already validation|https://github.com/apache/avro/blob/master/lang/ruby/lib/avro/schema.rb#L94],
but does not report what fields are invalid.
>  At this point, we can clearly communicate validation scenarios and avro can be even
used as a validation library.
> Little preview of what we've done
> {quote}
>     at .person.houses\[1\].number_of_rooms expected type long, got string with value
"not valid at all"
> {quote}
> At this point, our fork is quite outdated so it will take us some time to update it and
submit a patch. This is just a question if you would be interested in receiving such a patch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message