You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "John Dickson (Jira)" <ji...@apache.org> on 2024/08/05 01:28:00 UTC
[jira] [Created] (AVRO-4026) Schemas with non-string custom attributes fail to compile
John Dickson created AVRO-4026:
----------------------------------
Summary: Schemas with non-string custom attributes fail to compile
Key: AVRO-4026
URL: https://issues.apache.org/jira/browse/AVRO-4026
Project: Apache Avro
Issue Type: Bug
Components: c++
Affects Versions: 1.11.3, 1.11.2
Reporter: John Dickson
AVRO-3601 fixed the install issue, but any schema with non-string custom attributes now fails to compile with an exception.
For example the following schema that cannot be compiled in 1.11.2, while it worked in earlier versions:
{{{}}
{{ "type": "record",}}
{{ "name": "Test",}}
{{ "fields": [ {}}
{{ "name": "f1",}}
{{ "type": "string",}}
{{ "extra": {}}
{{ "custom1": "value",}}
{{ "custom2": true}}
{{ }}}
{{ } ]}}
{{}}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)