[ 
https://issues.apache.org/jira/browse/AVRO-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17494424#comment-17494424
 ] 

ASF subversion and git services commented on AVRO-992:
------------------------------------------------------

Commit b0fbd92ddce1f44bd7b8b41f14069ec2e360087b in avro's branch 
refs/heads/branch-1.11 from Radai Rosenblatt
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=b0fbd92 ]

AVRO-3375: Better error messages out of generic and specific DatumWriters 
(#1526)

* AVRO-3375 - better error messages out of generic and specific DatumWriters

this commit introduces "path tracking" to trace the path from a root datum 
object to be written to the location of 3 common serialization errors:
NullPointerExceptions, ClassCastExceptions and AvroTypeExceptions.

path tracing is done using AvroPath-like path components and predicates that 
would maybe become part of a future implementation of AVRO-992

note that path tracing does not woth if custom coders are in use for 
serialization (neither does the tracking code this commit replaces).

* address review comments

* address more review comments

Co-authored-by: Radai Rosenblatt <[email protected]>

> AVRO Path
> ---------
>
>                 Key: AVRO-992
>                 URL: https://issues.apache.org/jira/browse/AVRO-992
>             Project: Apache Avro
>          Issue Type: New Feature
>          Components: java
>    Affects Versions: 1.7.0
>            Reporter: Jason Rutherglen
>            Priority: Minor
>
> Like XPath or JSON Path, it would be useful for AVRO to support a 'path' like 
> system to query on an AVRO object to return selected results.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to