You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ryan Skraba (Jira)" <ji...@apache.org> on 2026/05/07 16:01:00 UTC

[jira] [Created] (AVRO-4254) Avoid logging datum values in UnresolvedUnionException

Ryan Skraba created AVRO-4254:
---------------------------------

             Summary: Avoid logging datum values in UnresolvedUnionException
                 Key: AVRO-4254
                 URL: https://issues.apache.org/jira/browse/AVRO-4254
             Project: Apache Avro
          Issue Type: Improvement
          Components: java
            Reporter: Ryan Skraba


From PR:
UnresolvedUnionException previously included the full toString() of the unresolved datum in its exception message. When this exception propagates to generic error handlers or gets logged, the datum value — which may contain sensitive user data — gets written to application logs.
Replace the datum's toString() with its class name in the exception message. The actual datum object remains accessible via getUnresolvedDatum() for callers that need programmatic access.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)