[
https://issues.apache.org/jira/browse/AVRO-3483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17520354#comment-17520354
]
ASF subversion and git services commented on AVRO-3483:
-------------------------------------------------------
Commit 3e6fcf90dcc301390faaa5d59b9a538a11537fba in avro's branch
refs/heads/avro-3483-log-reason-for-validation-failures from Martin Tzvetanov
Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=3e6fcf90d ]
AVRO-3483: Add a test case for Value::Enum with index out of bounds
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
> [Rust] Log error messages with a reason when the validation fails
> -----------------------------------------------------------------
>
> Key: AVRO-3483
> URL: https://issues.apache.org/jira/browse/AVRO-3483
> Project: Apache Avro
> Issue Type: Improvement
> Components: rust
> Reporter: Martin Tzvetanov Grigorov
> Assignee: Martin Tzvetanov Grigorov
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Currently types::Value::validate(Schema) just returns a boolean with the
> result of the validation.
> It would be good if the Rust SDK logs the reason for a failed validation.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)