You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/02/18 07:12:00 UTC

[jira] [Commented] (AVRO-992) AVRO Path

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

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

Commit 4c24d9ddddc8cc7d507caf495a4f93f3c7255654 in avro's branch refs/heads/master from Radai Rosenblatt
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=4c24d9d ]

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 <rr...@rrosenbl-mn2.linkedin.biz>

> 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)