[
https://issues.apache.org/jira/browse/AVRO-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17937324#comment-17937324
]
ASF subversion and git services commented on AVRO-4026:
-------------------------------------------------------
Commit 1305509ace25931b3373d35daf47bc48238455b6 in avro's branch
refs/heads/main from Gang Wu
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=1305509ac ]
AVRO-4026: [C++] Allow non-string custom attributes (#3344)
> 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.2, 1.11.3
> Reporter: John Dickson
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10.5h
> Remaining Estimate: 0h
>
> 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:
> {code}
> {
> "type": "record",
> "name": "Test",
> "fields": [ {
> "name": "f1",
> "type": "string",
> "extra": {
> "custom1": "value",
> "custom2": true
> }
> } ]
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)